* g10/gpg.c (main): Print in the default case.
--
GnuPG-bug-id: 2943
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit
810adfd47801fc01e45fb71af9f05c91f7890cdb)
Gbp-Pq: Name 0035-gpg-Print-a-warning-if-no-command-has-been-given.patch
#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 */