Commit 4e41d1b4 authored by Francesco Poldi's avatar Francesco Poldi

Fix args #293

parent 70664161
...@@ -32,9 +32,9 @@ def check(args): ...@@ -32,9 +32,9 @@ def check(args):
if args.userid: if args.userid:
error("Contradicting Args", error("Contradicting Args",
"--userid and -u cannot be used together.") "--userid and -u cannot be used together.")
else: elif args.search is None:
if args.search is None: if (args.geo or args.near) is None:
error("Error", "Please use at least -u or -s.") error("Error", "Please use at least -u, -s, -g or --near.")
if args.output is None: if args.output is None:
if args.csv: if args.csv:
error("Error", "Please specify an output file (Example: -o file.csv).") error("Error", "Please specify an output file (Example: -o file.csv).")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment