eric5_api.py

changeset 2008
1ed291dbd2d5
parent 1509
c0b5e693b0eb
child 2302
f29e9405c851
--- a/eric5_api.py	Fri Aug 17 17:29:41 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)
 
 

eric ide

mercurial