projects
/
platform
/
upstream
/
linaro-gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61e675c
)
(process_command): Don't set verbose_flag if they make a
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Aug 1992 03:07:57 +0000
(
03:07
+0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Aug 1992 03:07:57 +0000
(
03:07
+0000)
typo (e.g., `-v-E'); only when it's exactly "-v".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1940
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/gcc.c
patch
|
blob
|
history
diff --git
a/gcc/gcc.c
b/gcc/gcc.c
index
838d9e9
..
ef5abb8
100644
(file)
--- a/
gcc/gcc.c
+++ b/
gcc/gcc.c
@@
-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':