mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-24 22:09:57 +01:00
gpg: Print a warning if no command has been given.
* g10/gpg.c (main): Print in the default case. -- GnuPG-bug-id: 2943 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
f8ce31a7bf
commit
810adfd478
@ -4894,8 +4894,12 @@ main (int argc, char **argv)
|
||||
#endif /*USE_TOFU*/
|
||||
break;
|
||||
|
||||
case aListPackets:
|
||||
default:
|
||||
if (!opt.quiet)
|
||||
log_info (_("WARNING: no command supplied."
|
||||
" Trying to guess what you mean ...\n"));
|
||||
/*FALLTHU*/
|
||||
case aListPackets:
|
||||
if( argc > 1 )
|
||||
wrong_args("[filename]");
|
||||
/* Issue some output for the unix newbie */
|
||||
|
Loading…
x
Reference in New Issue
Block a user