Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.67 KB

MANPATH.3.md

File metadata and controls

45 lines (29 loc) · 1.67 KB

MANPATH(3)

NAME

manpath - return the search path for manual pages

SYNOPSIS

import manpath

String manpath.get_manpath(Integer debug_level = 0, Boolean quiet_mode = False)

String manpath.get_locales(Integer debug_level = 0, Boolean quiet_mode = False)

DESCRIPTION

The get_manpath() function returns a string of colon separated directories containing manual pages.

The get_locales() function returns a string of colon separated locales for which there are localized manual pages.

For each of the two functions, if the optional debug_level is set to 1, 2 or 3 it will also print increasingly verbose debugging messages to the console.

And if the optional quiet_mode argument is set to True it will discard warning messages printed to the console.

ENVIRONMENT

The following environment variables affect the execution of manpath:

Environment variable Use
MANLOCALES If set, causes the utility to override any other configuration found on the system.
MANPATH If set, causes the utility to override any other configuration found on the system.
PATH Influences the manual path as described in the IMPLEMENTATION NOTES.

SEE ALSO

manpath(1)

STANDARDS

The manpath library tries to follow the PEP 8 style guide for Python code.

HISTORY

This library was made for the PNU project.

LICENSE

It is available under the 3-clause BSD license.

AUTHORS

Hubert Tournier