55 print(" -h or --help") |
55 print(" -h or --help") |
56 print(" Show this help and exit.") |
56 print(" Show this help and exit.") |
57 print(" -l language or --language=language") |
57 print(" -l language or --language=language") |
58 print(" Generate an API file for the given programming language.") |
58 print(" Generate an API file for the given programming language.") |
59 print(" Supported programming languages are:") |
59 print(" Supported programming languages are:") |
|
60 for lang in sorted(DocumentationTools.supportedExtensionsDictForApis.keys()): |
|
61 print(" * {0}".format(lang)) |
|
62 print(" The default is 'Python3'.") |
|
63 print(" This option may be repeated multiple times.") |
60 print(" -o filename or --output=filename") |
64 print(" -o filename or --output=filename") |
61 print(" Write the API information to the named file. A '%L' placeholder") |
65 print(" Write the API information to the named file. A '%L' placeholder") |
62 print(" is replaced by the language of the API file (see --language).") |
66 print(" is replaced by the language of the API file (see --language).") |
63 print(" -p or --private") |
67 print(" -p or --private") |
64 print(" Include private methods and functions.") |
68 print(" Include private methods and functions.") |
69 print(" This option may be given multiple times.") |
73 print(" This option may be given multiple times.") |
70 print(" -V or --version") |
74 print(" -V or --version") |
71 print(" Show version information and exit.") |
75 print(" Show version information and exit.") |
72 print(" -x directory or --exclude=directory") |
76 print(" -x directory or --exclude=directory") |
73 print(" Specify a directory basename to be excluded.") |
77 print(" Specify a directory basename to be excluded.") |
74 print(" This option may be repeated multiple times.") |
|
75 for lang in sorted(DocumentationTools.supportedExtensionsDictForApis.keys()): |
|
76 print(" * {0}".format(lang)) |
|
77 print(" The default is 'Python3'.") |
|
78 print(" This option may be repeated multiple times.") |
78 print(" This option may be repeated multiple times.") |
79 sys.exit(1) |
79 sys.exit(1) |
80 |
80 |
81 |
81 |
82 def version(): |
82 def version(): |