mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
dirmngr: Fix help string and argument.
* dirmngr/server.c (hlp_versioncheck): Add a newline. (cmd_versioncheck): Fix argument. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
d1ccab5176
commit
96414baf36
@ -2551,7 +2551,7 @@ static const char hlp_versioncheck[] =
|
||||
"\n"
|
||||
"Checks the internet to find whenever a new program version is available."
|
||||
"\n"
|
||||
"<name> program name i.e. \"gnupg\""
|
||||
"<name> program name i.e. \"gnupg\"\n"
|
||||
"<version> current version of the program i.e. \"2.0.2\"";
|
||||
static gpg_error_t
|
||||
cmd_versioncheck (assuan_context_t ctx, char *line)
|
||||
@ -2579,7 +2579,7 @@ cmd_versioncheck (assuan_context_t ctx, char *line)
|
||||
swdb_sig_path[0] = 0;
|
||||
ctrl = assuan_get_pointer (ctx);
|
||||
|
||||
if (split_fields (line, &cmd_fields, 2) != 2)
|
||||
if (split_fields (line, cmd_fields, 2) != 2)
|
||||
{
|
||||
err = set_error (GPG_ERR_ASS_PARAMETER,
|
||||
"No program name and/or version given");
|
||||
|
Loading…
x
Reference in New Issue
Block a user