]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
srptool: resurrect default value for -i
authorDaiki Ueno <ueno@gnu.org>
Thu, 18 Aug 2022 00:01:20 +0000 (09:01 +0900)
committerDaiki Ueno <ueno@gnu.org>
Thu, 18 Aug 2022 00:03:39 +0000 (09:03 +0900)
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>
src/srptool-options.json

index f24dea9f745eab50dc009ada29497ad2dc25fe38..b221f01bae82fd7c566b8e6c5ba4ba73c154bca5 100644 (file)
@@ -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
+}