diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2016-10-27 02:18:29 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2016-10-27 02:18:29 +0200 |
commit | 96414baf36b8e6385b71847c789d489ebe176a93 (patch) | |
tree | 8c2225f71055873db46f49122ebc1b3750bd65b6 /dirmngr/server.c | |
parent | dirmngr: Fix hang due to deferred thread initialization. (diff) | |
download | gnupg2-96414baf36b8e6385b71847c789d489ebe176a93.tar.xz gnupg2-96414baf36b8e6385b71847c789d489ebe176a93.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | dirmngr/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dirmngr/server.c b/dirmngr/server.c index 0ad2713c1..57273c785 100644 --- a/dirmngr/server.c +++ b/dirmngr/server.c @@ -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"); |