summaryrefslogtreecommitdiff
path: root/src/srptool-options.json
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2022-08-18 09:01:20 +0900
committerDaiki Ueno <ueno@gnu.org>2022-08-18 09:03:39 +0900
commit2e5047818b8bdf1c5d6af9e5b2978ccdd9eee16a (patch)
tree20d04744b3145dce44f333cff7d3135966bff7bd /src/srptool-options.json
parent5a0bdc619577bd8602a2298953e3daabebc74ef3 (diff)
downloadgnutls-2e5047818b8bdf1c5d6af9e5b2978ccdd9eee16a.tar.gz
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 <ueno@gnu.org>
Diffstat (limited to 'src/srptool-options.json')
-rw-r--r--src/srptool-options.json5
1 files changed, 3 insertions, 2 deletions
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
+}