1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01:00

* gpgsm.c (main): Don't print the "go ahead" message for an

invalid command.
This commit is contained in:
Werner Koch 2002-05-31 15:20:22 +00:00
parent 8bb265d502
commit a3aa9e386b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-05-31 Werner Koch <wk@gnupg.org>
* gpgsm.c (main): Don't print the "go ahead" message for an
invalid command.
2002-05-23 Werner Koch <wk@gnupg.org> 2002-05-23 Werner Koch <wk@gnupg.org>
* import.c (gpgsm_import): Add error messages. * import.c (gpgsm_import): Add error messages.

View File

@ -1257,6 +1257,7 @@ main ( int argc, char **argv)
default: default:
log_error ("invalid command\n"); log_error ("invalid command\n");
#if 0
if (argc > 1) if (argc > 1)
wrong_args(_("[filename]")); wrong_args(_("[filename]"));
/* Issue some output for the unix newbie */ /* Issue some output for the unix newbie */
@ -1264,7 +1265,6 @@ main ( int argc, char **argv)
&& isatty (fileno(stdout) ) && isatty (fileno(stderr) ) ) && isatty (fileno(stdout) ) && isatty (fileno(stderr) ) )
log_info (_("Go ahead and type your message ...\n")); log_info (_("Go ahead and type your message ...\n"));
#if 0
if ( !(a = iobuf_open(fname)) ) if ( !(a = iobuf_open(fname)) )
log_error (_("can't open `%s'\n"), print_fname_stdin(fname)); log_error (_("can't open `%s'\n"), print_fname_stdin(fname));
else else