aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/gpgkeys_hkp.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyserver/gpgkeys_hkp.c')
-rw-r--r--keyserver/gpgkeys_hkp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c
index 1d0853dbb..7e9a62d62 100644
--- a/keyserver/gpgkeys_hkp.c
+++ b/keyserver/gpgkeys_hkp.c
@@ -497,9 +497,10 @@ fail_all(struct keylist *keylist,int err)
static void
show_help (FILE *fp)
{
- fprintf (fp,"-h\thelp\n");
- fprintf (fp,"-V\tversion\n");
- fprintf (fp,"-o\toutput to this file\n");
+ fprintf (fp,"-h, --help\thelp\n");
+ fprintf (fp,"-V\t\tmachine readable version\n");
+ fprintf (fp,"--version\thuman readable version\n");
+ fprintf (fp,"-o\t\toutput to this file\n");
}
int
@@ -516,7 +517,7 @@ main(int argc,char *argv[])
/* Kludge to implement standard GNU options. */
if (argc > 1 && !strcmp (argv[1], "--version"))
{
- fputs ("gpgkeys_hkp (GnuPG) " VERSION"\n", stdout);
+ printf("gpgkeys_hkp (GnuPG) "VERSION" (uses %s)\n",curl_version());
return 0;
}
else if (argc > 1 && !strcmp (argv[1], "--help"))