rpc: fix allow to use bdev_nvme_apply_firmware in rpc.py

Change-Id: I53c5c69b7b954a491e29a72305bfc1b6c57aabb1
Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/532
Reviewed-by: Maciej Wawryk <maciejx.wawryk@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Tomasz Kulasek 2020-02-05 12:36:22 +01:00 committed by Tomasz Zawadzki
parent 3d8a0b19b0
commit 8e3b0c159b

View File

@ -760,7 +760,7 @@ if __name__ == "__main__":
bdev_name=args.bdev_name,
filename=args.filename))
p = subparsers.add_parser('apply_firmware', aliases=['apply_firmware'],
p = subparsers.add_parser('bdev_nvme_apply_firmware', aliases=['apply_firmware'],
help='Download and commit firmware to NVMe device')
p.add_argument('filename', help='filename of the firmware to download')
p.add_argument('bdev_name', help='name of the NVMe device')