diff --git a/software/glasgow/applet/interface/i2c_master/__init__.py b/software/glasgow/applet/interface/i2c_master/__init__.py index 204a03a..942af99 100644 --- a/software/glasgow/applet/interface/i2c_master/__init__.py +++ b/software/glasgow/applet/interface/i2c_master/__init__.py @@ -285,7 +285,7 @@ class I2CMasterApplet(GlasgowApplet, name="i2c-master"): @classmethod def add_interact_arguments(cls, parser): - p_operation = parser.add_subparsers(dest="operation", metavar="OPERATION", required=True) + p_operation = parser.add_subparsers(dest="operation", metavar="OPERATION") def add_scan_id_argument(parser): parser.add_argument( diff --git a/software/glasgow/applet/memory/_24x/__init__.py b/software/glasgow/applet/memory/_24x/__init__.py index 684a38e..1db61d6 100644 --- a/software/glasgow/applet/memory/_24x/__init__.py +++ b/software/glasgow/applet/memory/_24x/__init__.py @@ -136,7 +136,7 @@ class Memory24xApplet(I2CMasterApplet, name="memory-24x"): def hex_bytes(arg): return bytes.fromhex(arg) - p_operation = parser.add_subparsers(dest="operation", metavar="OPERATION", required=True) + p_operation = parser.add_subparsers(dest="operation", metavar="OPERATION") p_read = p_operation.add_parser( "read", help="read memory")