From 3dd57d27af52e06223bc91e9bbc687d91c7f00a1 Mon Sep 17 00:00:00 2001 From: Shuhei Matsumoto Date: Thu, 21 Jun 2018 11:08:24 +0900 Subject: [PATCH] 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 Reviewed-on: https://review.gerrithub.io/416304 Tested-by: SPDK Automated Test System Reviewed-by: Daniel Verkamp Reviewed-by: Ben Walker --- scripts/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rpc.py b/scripts/rpc.py index fb7813f01..122c3518d 100755 --- a/scripts/rpc.py +++ b/scripts/rpc.py @@ -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