diff --git a/scripts/rpc.py b/scripts/rpc.py index 515106b4a..287892561 100755 --- a/scripts/rpc.py +++ b/scripts/rpc.py @@ -2864,10 +2864,10 @@ Format: 'user:u1 secret:s1 muser:mu1 msecret:ms1,user:u2 secret:s2 muser:mu2 mse p.add_argument('-t', '--cmd-type', help="""Type of NVMe command. Valid values are: admin, io""", required=True) p.add_argument('-o', '--opc', help="""Opcode of the NVMe command.""", required=True, type=int) p.add_argument('-s', '--do-not-submit', - help="""Set to true if request should not be submitted to the controller (default false)""", - default=False, dest="do_not_submit", action='store_true') + help="""Set to true if request should not be submitted to the controller""", + dest="do_not_submit", action='store_true') p.add_argument('-w', '--timeout-in-us', help="""Wait specified microseconds when do_not_submit is true""", type=int) - p.add_argument('-e', '--err-count', help="""Number of matching NVMe commands to inject errors (default 1)""", type=int, default=1) + p.add_argument('-e', '--err-count', help="""Number of matching NVMe commands to inject errors""", type=int) p.add_argument('-u', '--sct', help="""Status code type""", type=int) p.add_argument('-c', '--sc', help="""Status code""", type=int) p.set_defaults(func=bdev_nvme_add_error_injection)