From bb0ad66a78ff5abd17f696af29aae1084c06ba2b Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sat, 7 Oct 2023 00:05:46 +0200 Subject: [PATCH] cli: reorder args --- software/script/chameleon_cli_unit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/script/chameleon_cli_unit.py b/software/script/chameleon_cli_unit.py index 4238859..3c368d9 100644 --- a/software/script/chameleon_cli_unit.py +++ b/software/script/chameleon_cli_unit.py @@ -1310,8 +1310,8 @@ class HWSlotTagType(TagTypeRequiredUnit, SlotIndexRequireUnit): def args_parser(self) -> ArgumentParserNoExit: parser = ArgumentParserNoExit() parser.description = 'Set emulation tag type' - self.add_type_args(parser) self.add_slot_args(parser) + self.add_type_args(parser) return parser # hw slot tagtype -t 2 @@ -1342,8 +1342,8 @@ class HWSlotDataDefault(TagTypeRequiredUnit, SlotIndexRequireUnit): def args_parser(self) -> ArgumentParserNoExit: parser = ArgumentParserNoExit() parser.description = 'Set emulation tag data to default' - self.add_type_args(parser) self.add_slot_args(parser) + self.add_type_args(parser) return parser # m1 1k card emulation hw slot init -s 1 -t 3