diff --git a/pmb/parse/arguments.py b/pmb/parse/arguments.py index b4474f20..143830fb 100644 --- a/pmb/parse/arguments.py +++ b/pmb/parse/arguments.py @@ -39,9 +39,10 @@ def arguments_export(subparser): def arguments_flasher(subparser): ret = subparser.add_parser("flasher", help="flash something to the" " target device") - sub = ret.add_subparsers(dest="action_flasher") ret.add_argument("--method", help="override flash method", dest="flash_method", default=None) + sub = ret.add_subparsers(dest="action_flasher") + sub.required = True # Boot, flash kernel boot = sub.add_parser("boot", help="boot a kernel once")