Commit 8436fe35 by Richard Stallman

(process_command): Don't set verbose_flag if they make a

typo (e.g., `-v-E'); only when it's exactly "-v".

From-SVN: r1940
parent 7d2d49af
......@@ -2045,8 +2045,12 @@ process_command (argc, argv)
break;
case 'v': /* Print our subcommands and print versions. */
verbose_flag++;
n_switches++;
/* If they do anything other than exactly `-v', don't set
verbose_flag; rather, continue on to give the error. */
if (p[1] != 0)
break;
verbose_flag++;
break;
case 'V':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment