From a3dd8df8cd5ed2779decfdcc08794d22ee23e637 Mon Sep 17 00:00:00 2001 From: Shuhei Matsumoto Date: Mon, 14 May 2018 08:02:54 +0900 Subject: [PATCH] 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 Reviewed-on: https://review.gerrithub.io/410864 Tested-by: SPDK Automated Test System Reviewed-by: Daniel Verkamp Reviewed-by: Jim Harris Reviewed-by: Pawel Wodkowski --- scripts/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rpc.py b/scripts/rpc.py index 91a163d64..2750a54c4 100755 --- a/scripts/rpc.py +++ b/scripts/rpc.py @@ -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