1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Make --version close to GNU standards.

This commit is contained in:
Werner Koch 2008-11-18 18:17:10 +00:00
parent 9d76ee5147
commit 5452f53c5c
4 changed files with 16 additions and 2 deletions

View file

@ -517,7 +517,10 @@ main(int argc,char *argv[])
/* Kludge to implement standard GNU options. */
if (argc > 1 && !strcmp (argv[1], "--version"))
{
printf("gpgkeys_hkp (GnuPG) "VERSION" (uses %s)\n",curl_version());
printf ("gpgkeys_hkp (GnuPG) %s\n", VERSION);
#ifndef curl_is_gnupg_curl_shim
printf ("libcurl %s\n", curl_version());
#endif /*curl_is_gnupg_curl_shim*/
return 0;
}
else if (argc > 1 && !strcmp (argv[1], "--help"))