@@ -23,9 +23,10 @@ parser.add_argument("JSON", type=str, nargs="?", help="Filename to save results"
args = parser.parse_args()
# pprint(args)
-# Or perhaps have parser.print_help()
+# If no option, display help and exit
if ( not args.download and not args.train and not args.quick and not args.update ):
- parser.error("Need --download, --train, --quick, or --update")
+ parser.print_help()
+ sys.exit()
# httpbin.org/headers
sess = requests.Session()