scripts/rpc: Add abbreviated option '-f' to load_subsystem_config
'-f' is simpler and easier to use than '--filename'. Change-Id: Iff31f772ff1034674473a495bff1e73c3328398d Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/416304 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
361cd02264
commit
3dd57d27af
@ -81,7 +81,7 @@ if __name__ == "__main__":
|
||||
|
||||
p = subparsers.add_parser('load_subsystem_config', help="""Configure SPDK subsystem 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_subsystem_config)
|
||||
|
||||
# app
|
||||
|
Loading…
Reference in New Issue
Block a user