Specifiy the section of the manual to search in. Do a keyword (apropos) search for keyword. Generate and print an index for section. Do not convert the file, print the raw man output. Print out the current configuration, suitable for saving as a man2web.conf(5) config file. Print a help message with a list of options. Print the version number and exit.

Command Line
This would output the man page for name and and save it to a file. This would print out the current configuration, saving it to man2web.conf.

CGI
This is the most common use for man2web. The web server calls the man2web setting the QUERY_STRING and SCRIPT_NAME environment variables (see ENVIRONMENT below). Query string examples follow: This would return the intro man page from section 1. This would generate a section index for section 2. This would return the results of a keyword (apropos) search for groff. This is passed by the web server to the program specifying the type of action to be performed, and any parameters, See EXAMPLES above for examples of what this looks like. This specifies the way the program is referenced by the web server, and how to write out self referencing URLs (links to other man pages, or the cover/search page.) If this is set, the command line is disabled, and options must be specified in the QUERY_STRING environment variable. The configuration file.