From a3aa9e386b90b0bb742527848994fbb80e79cf9e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 31 May 2002 15:20:22 +0000 Subject: * gpgsm.c (main): Don't print the "go ahead" message for an invalid command. --- sm/gpgsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sm/gpgsm.c') diff --git a/sm/gpgsm.c b/sm/gpgsm.c index 83de50edb..17344ec22 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -1257,6 +1257,7 @@ main ( int argc, char **argv) default: log_error ("invalid command\n"); +#if 0 if (argc > 1) wrong_args(_("[filename]")); /* Issue some output for the unix newbie */ @@ -1264,7 +1265,6 @@ main ( int argc, char **argv) && isatty (fileno(stdout) ) && isatty (fileno(stderr) ) ) log_info (_("Go ahead and type your message ...\n")); -#if 0 if ( !(a = iobuf_open(fname)) ) log_error (_("can't open `%s'\n"), print_fname_stdin(fname)); else -- cgit v1.2.3