collect2.c (main): Match exactly --version and --help.
* collect2.c (main): Match exactly --version and --help. From-SVN: r161311
This commit is contained in:
parent
d646bbce34
commit
2dcef31e9f
|
@ -1,3 +1,7 @@
|
|||
2010-06-24 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* collect2.c (main): Match exactly --version and --help.
|
||||
|
||||
2010-06-24 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* config/m32c/m32c-pragma.c: Don't include rtl.h.
|
||||
|
|
|
@ -1593,9 +1593,9 @@ main (int argc, char **argv)
|
|||
}
|
||||
else if (strncmp (arg, "--sysroot=", 10) == 0)
|
||||
target_system_root = arg + 10;
|
||||
else if (strncmp (arg, "--version", 9) == 0)
|
||||
else if (strcmp (arg, "--version") == 0)
|
||||
vflag = true;
|
||||
else if (strncmp (arg, "--help", 9) == 0)
|
||||
else if (strcmp (arg, "--help") == 0)
|
||||
helpflag = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue