Browse code

Just print help instead of asking the user to try again

Richo Healey authored on 2014/05/03 06:39:45
Showing 1 changed files
... ...
@@ -2334,7 +2334,7 @@ def main():
2334 2334
         sys.exit(0)
2335 2335
 
2336 2336
     if len(args) < 1:
2337
-        error(u"Missing command. Please run with --help for more information.")
2337
+        optparser.print_help()
2338 2338
         sys.exit(1)
2339 2339
 
2340 2340
     ## Unicodise all remaining arguments: