rpc/python: Add abbreviated '-f' option to load_config
save_config has '-f' as option and it is easier to use than '--filename'. Change-Id: I553480d03431c65612e9df296f202572522d6aca Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/410864 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
This commit is contained in:
parent
718440bc6b
commit
a3dd8df8cd
@ -72,7 +72,7 @@ if __name__ == "__main__":
|
||||
|
||||
p = subparsers.add_parser('load_config', help="""Configure SPDK subsystems and tagets using JSON RPC. If no file is
|
||||
provided or file is '-' read configuration from stdin.""")
|
||||
p.add_argument('--filename', help="""JSON Configuration file.""")
|
||||
p.add_argument('-f', '--filename', help="""JSON Configuration file.""")
|
||||
p.set_defaults(func=load_config)
|
||||
|
||||
# app
|
||||
|
Loading…
Reference in New Issue
Block a user