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

Fix #474

parent 96bbf241
......@@ -36,7 +36,7 @@ def check(args):
error("Contradicting Args",
"--all and -u cannot be used together")
elif args.search is None:
if (args.geo or args.near) is None:
if (args.geo or args.near) is None and not (args.all or args.userid):
error("Error", "Please use at least -u, -s, -g or --near.")
elif args.all and args.userid:
error("Contradicting Args",
......
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