* cxxfilt.c (long_options): Add --no-params.

(main): Handle -p/--no-params.
	* doc/binutils.texi (c++filt): Document -p/--no-params.
This commit is contained in:
Ian Lance Taylor
2003-11-23 01:10:45 +00:00
parent d422fe19c6
commit 4e48c9dd27
3 changed files with 17 additions and 1 deletions

View File

@@ -2314,6 +2314,7 @@ the Info entries for @file{binutils}.
c++filt [@option{-_}|@option{--strip-underscores}]
[@option{-j}|@option{--java}]
[@option{-n}|@option{--no-strip-underscores}]
[@option{-p}|@option{--no-params}]
[@option{-s} @var{format}|@option{--format=}@var{format}]
[@option{--help}] [@option{--version}] [@var{symbol}@dots{}]
@c man end
@@ -2369,6 +2370,11 @@ syntax.
@itemx --no-strip-underscores
Do not remove the initial underscore.
@item -p
@itemx --no-params
When demangling the name of a function, do not display the types of
the function's parameters.
@item -s @var{format}
@itemx --format=@var{format}
@command{c++filt} can decode various methods of mangling, used by