This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Fix cxxfilt.c
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Mon, 24 Nov 2003 12:13:52 -0800
- Subject: PATCH: Fix cxxfilt.c
cxxfilt is supposed to accept -h and -v. But they aren't allowed. This
patch fixes it.
H.J.
----
2003-11-24 H.J. Lu <hongjiu.lu@intel.com>
* cxxfilt.c (main): Allow -h and -v.
--- cxxfilt.c 2003-11-24 12:00:26.000000000 -0800
+++ cxxfilt.c 2003-11-24 11:22:26.000000000 -0800
@@ -172,7 +172,7 @@ main (int argc, char **argv)
strip_underscore = TARGET_PREPENDS_UNDERSCORE;
- while ((c = getopt_long (argc, argv, "_hnpvs:", long_options, (int *) 0)) != EOF)
+ while ((c = getopt_long (argc, argv, "_nps:", long_options, (int *) 0)) != EOF)
{
switch (c)
{