]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/command/summary/count_exists.py
Refactor get*() to .() with property decorator.
[wizard.git] / wizard / command / summary / count_exists.py
index d54fa6932505bb99fcfb6331fbf04abacf9e01d7..d3d78ed3ecfa18b7684a2b6e495aba3e405dc394 100644 (file)
@@ -25,5 +25,7 @@ Examples:
     options, args = parser.parse_all(argv)
     if len(args) > 1:
         parser.error("too many arguments")
+    if not args:
+        parser.error("need to specify FILE")
     return options, args