From 2e5047818b8bdf1c5d6af9e5b2978ccdd9eee16a Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Thu, 18 Aug 2022 09:01:20 +0900 Subject: srptool: resurrect default value for -i The default option value for -i (--index) was dropped during the cligen conversion. This adds it back for compatibility with the existing command line usage. Signed-off-by: Daiki Ueno --- src/srptool-options.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/srptool-options.json b/src/srptool-options.json index f24dea9f74..b221f01bae 100644 --- a/src/srptool-options.json +++ b/src/srptool-options.json @@ -25,7 +25,8 @@ "long-option": "index", "short-option": "i", "description": "specify the index of the group parameters in tpasswd.conf to use", - "argument-type": "number" + "argument-type": "number", + "argument-default": 3 }, { "long-option": "username", @@ -66,4 +67,4 @@ ] } ] -} \ No newline at end of file +} -- cgit v1.2.1