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

* status.c (do_get_from_fd): Accept 'y' as well as 'Y' for --command-fd

boolean input.

* g10.c (main): Add deprecated option warning for --list-ownertrust.  Add
--compression-algo alias for --compress-algo.  Change --version output
strings to match "showpref" strings, and make translatable.
This commit is contained in:
David Shaw 2003-03-21 22:55:48 +00:00
parent a73a76b34e
commit 27174e551e
3 changed files with 22 additions and 7 deletions

View file

@ -529,7 +529,7 @@ do_get_from_fd( const char *keyword, int hidden, int bool )
write_status( STATUS_GOT_IT );
if( bool ) /* Fixme: is this correct??? */
return string[0] == 'Y' ? "" : NULL;
return (string[0] == 'Y' || string[0] == 'y') ? "" : NULL;
return string;
}