scripts/rpc: remove default value from bdev_nvme_send_cmd function
Removing default options from parser command to prevent overwrite by argparse the defaults defined in the .c files. Signed-off-by: Jaroslaw Chachulski <jaroslawx.chachulski@intel.com> Change-Id: I8db8ab436e15a313f8141ada14c5b60f2545266d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12894 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com>
This commit is contained in:
parent
0e25e2a6e2
commit
16772e6de3
@ -2678,7 +2678,7 @@ Format: 'user:u1 secret:s1 muser:mu1 msecret:ms1,user:u2 secret:s2 muser:mu2 mse
|
||||
p.add_argument('-D', '--data-length', help="""Data length required to transfer from controller to host""", type=int)
|
||||
p.add_argument('-M', '--metadata-length', help="""Metadata length required to transfer from controller to host""", type=int)
|
||||
p.add_argument('-T', '--timeout-ms',
|
||||
help="""Command execution timeout value, in milliseconds, if 0, don't track timeout""", type=int, default=0)
|
||||
help="""Command execution timeout value, in milliseconds, if 0, don't track timeout""", type=int)
|
||||
p.set_defaults(func=bdev_nvme_send_cmd)
|
||||
|
||||
# Notifications
|
||||
|
Loading…
Reference in New Issue
Block a user