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:35:03 +0000 (11:35 +0200)
sfa/client/sfi.py

index 26ec1f4..db7f07d 100644 (file)
@@ -299,7 +299,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]