allow commands with arguments
authorAlexander Solovyov <piranha@piranha.org.ua>
Fri, 31 Jul 2009 16:41:57 +0300
changeset 64 1e1a154717b0
parent 63 c02f84d8f0ed
child 65 e9678adf8bb1
allow commands with arguments
finaloption.py
--- a/finaloption.py	Fri Jul 31 09:50:32 2009 +0300
+++ b/finaloption.py	Fri Jul 31 16:41:57 2009 +0300
@@ -66,8 +66,6 @@
                 args, opts = arguments, kwarguments
             else:
                 args = args or sys.argv[1:]
-                if not args:
-                    return help_func()
                 try:
                     opts, args = catcher(lambda: parse(args, options_),
                                          help_func)