diff --git a/src/bin/dgenies b/src/bin/dgenies index 4245be2..d2ff0c4 100755 --- a/src/bin/dgenies +++ b/src/bin/dgenies @@ -130,7 +130,11 @@ def parse_args(): return "clear", None return "clear", args if args.subparser_name == "gallery": - return "gallery_" + args.which, args + if len(vars(args)) > 1: + return "gallery_" + args.which, args + else: + print("\nYou must specify the gallery subcommand ('add' or 'del') to launch") + return None, None if args.subparser_name == "inforun": return "inforun", args else: