summaryrefslogtreecommitdiffstats
path: root/tools/gpg-connect-agent.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2022-06-02 15:56:59 +0200
committerWerner Koch <wk@gnupg.org>2022-06-02 15:56:59 +0200
commitd89557fe95bf8dd92594871093814c6b0b39f4a2 (patch)
tree15290d7d57ef6ef772ac177bbd5bd3c9a0a3fc14 /tools/gpg-connect-agent.c
parentagent: Support --format=ssh option for READKEY. (diff)
downloadgnupg2-d89557fe95bf8dd92594871093814c6b0b39f4a2.tar.xz
gnupg2-d89557fe95bf8dd92594871093814c6b0b39f4a2.zip
tools: Minor fix to gpg-connect-agent options.
* tools/gpg-connect-agent.c (enum cmd_and_opt_values): Move oUnBuffered more to the top so that oNoop won't not get the value 'v'.
Diffstat (limited to 'tools/gpg-connect-agent.c')
-rw-r--r--tools/gpg-connect-agent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gpg-connect-agent.c b/tools/gpg-connect-agent.c
index 626c6c61b..6bbdc816b 100644
--- a/tools/gpg-connect-agent.c
+++ b/tools/gpg-connect-agent.c
@@ -58,6 +58,7 @@ enum cmd_and_opt_values
oExec = 'E',
oRun = 'r',
oSubst = 's',
+ oUnBuffered = 'u',
oNoVerbose = 500,
oHomedir,
@@ -73,7 +74,6 @@ enum cmd_and_opt_values
oNoHistory,
oNoAutostart,
oChUid,
- oUnBuffered = 'u',
oNoop
};
@@ -111,7 +111,7 @@ static gpgrt_opt_t opts[] = {
ARGPARSE_s_s (oDirmngrProgram, "dirmngr-program", "@"),
ARGPARSE_s_s (oKeyboxdProgram, "keyboxd-program", "@"),
ARGPARSE_s_s (oChUid, "chuid", "@"),
- ARGPARSE_s_n (oUnBuffered, "unbuffered", N_("Set stdin/out unbuffered")),
+ ARGPARSE_s_n (oUnBuffered, "unbuffered", N_("set stdin/out unbuffered")),
ARGPARSE_end ()
};