diff -r cd8050131d24 -r 837dbb455873 eric5_api.py --- a/eric5_api.py Sun Aug 12 13:50:18 2012 +0200 +++ b/eric5_api.py Tue Aug 21 16:48:47 2012 +0200 @@ -57,6 +57,10 @@ print(" -l language or --language=language") print(" Generate an API file for the given programming language.") print(" Supported programming languages are:") + for lang in sorted(DocumentationTools.supportedExtensionsDictForApis.keys()): + print(" * {0}".format(lang)) + print(" The default is 'Python3'.") + print(" This option may be repeated multiple times.") print(" -o filename or --output=filename") print(" Write the API information to the named file. A '%L' placeholder") print(" is replaced by the language of the API file (see --language).") @@ -72,10 +76,6 @@ print(" -x directory or --exclude=directory") print(" Specify a directory basename to be excluded.") print(" This option may be repeated multiple times.") - for lang in sorted(DocumentationTools.supportedExtensionsDictForApis.keys()): - print(" * {0}".format(lang)) - print(" The default is 'Python3'.") - print(" This option may be repeated multiple times.") sys.exit(1)