1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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'.
This commit is contained in:
Werner Koch 2022-06-02 15:56:59 +02:00
parent d7a3c455c5
commit d89557fe95
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 9 additions and 2 deletions

View File

@ -1451,6 +1451,13 @@ non-control characters.
Decode data lines. That is to remove percent escapes but make sure that
a new line always starts with a D and a space.
@item -u
@itemx --unbuffered
@opindex unbuffered
Set stdin and stdout into unbuffered I/O mode. This this sometimes
useful for scripting.
@end table
@mansect control commands

View File

@ -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 ()
};