reorder parser create funcs
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 23 May 2013 09:34:29 +0000 (11:34 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 23 May 2013 09:34:29 +0000 (11:34 +0200)
sfa/client/sfi.py

index 7d83c0f..2b69315 100644 (file)
@@ -290,7 +290,7 @@ class Sfi:
             print line
         else:
             print line
-            self.create_parser().print_help()
+            self.create_global_parser().print_help()
         # preserve order from the code
         for command in commands_list:
             (doc, args_string, example) = commands_dict[command]