* Makefile.in: Regenerate.
[deliverable/binutils-gdb.git] / binutils / cxxfilt.c
index f41493b74edd45c4fdd3b0d0afb3cb10dafd1a1a..1b297fd9da378c15be04a6975d748d58f73182eb 100644 (file)
@@ -73,7 +73,8 @@ static void
 usage (FILE *stream, int status)
 {
   fprintf (stream, "\
-Usage: %s [-_] [-n] [--strip-underscores] [--no-strip-underscores] \n",
+Usage: %s [-_] [-n] [--strip-underscores] [--no-strip-underscores]\n\
+       [-p] [--no-params]\n",
           program_name);
 
   fprintf (stream, "\
@@ -100,6 +101,7 @@ static const struct option long_options[] = {
   {"strip-underscores", no_argument, 0, '_'},
   {"format", required_argument, 0, 's'},
   {"help", no_argument, 0, 'h'},
+  {"no-params", no_argument, 0, 'p'},
   {"no-strip-underscores", no_argument, 0, 'n'},
   {"version", no_argument, 0, 'v'},
   {0, no_argument, 0, 0}
@@ -171,7 +173,7 @@ main (int argc, char **argv)
 
   strip_underscore = TARGET_PREPENDS_UNDERSCORE;
 
-  while ((c = getopt_long (argc, argv, "_ns:", long_options, (int *) 0)) != EOF)
+  while ((c = getopt_long (argc, argv, "_nps:", long_options, (int *) 0)) != EOF)
     {
       switch (c)
        {
@@ -183,6 +185,9 @@ main (int argc, char **argv)
        case 'n':
          strip_underscore = 0;
          break;
+       case 'p':
+         flags &= ~ DMGL_PARAMS;
+         break;
        case 'v':
          print_version ("c++filt");
          return (0);
This page took 0.022625 seconds and 4 git commands to generate.