diff --git a/pmb/flasher/frontend.py b/pmb/flasher/frontend.py index a47191e6..813c4bd4 100644 --- a/pmb/flasher/frontend.py +++ b/pmb/flasher/frontend.py @@ -148,10 +148,6 @@ def frontend(args): action = args.action_flasher method = args.flash_method or args.deviceinfo["flash_method"] - # Legacy alias - if action == "flash_system": - action = "flash_rootfs" - if method == "none" and action in ["boot", "flash_kernel", "flash_rootfs", "flash_lk2nd"]: logging.info("This device doesn't support any flash method.") diff --git a/pmb/parse/arguments.py b/pmb/parse/arguments.py index b5c15bad..c584afb8 100644 --- a/pmb/parse/arguments.py +++ b/pmb/parse/arguments.py @@ -250,7 +250,7 @@ def arguments_flasher(subparser): " default boot image partition ") # Flash rootfs - flash_rootfs = sub.add_parser("flash_rootfs", aliases=["flash_system"], + flash_rootfs = sub.add_parser("flash_rootfs", help="flash the rootfs to a partition on the" " device (partition layout does not get" " changed)")