This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)
 	{


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]