mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-08 15:47:36 +00:00
Add a --suppr short alias to the --suppressions option of abidiff
* tools/abidiff.cc (display_usage): Add a help string for the new --suppr option. (parse_command_line): Support the --suppr option which is an alias for --suppressions. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
944025e006
commit
bfeec954c6
@ -123,7 +123,7 @@ display_usage(const string& prog_name, ostream& out)
|
||||
"added/removed/changed\n"
|
||||
<< " --no-unreferenced-symbols do not display changes "
|
||||
"about symbols not referenced by debug info"
|
||||
<< " --suppressions <path> specify a suppression file\n"
|
||||
<< " --suppressions|--suppr <path> specify a suppression file\n"
|
||||
<< " --drop <regex> drop functions and variables matching a regexp\n"
|
||||
<< " --drop-fn <regex> drop functions matching a regexp\n"
|
||||
<< " --drop-fn <regex> drop functions matching a regexp\n"
|
||||
@ -246,7 +246,8 @@ parse_command_line(int argc, char* argv[], options& opts)
|
||||
opts.show_linkage_names = false;
|
||||
else if (!strcmp(argv[i], "--no-unreferenced-symbols"))
|
||||
opts.show_symbols_not_referenced_by_debug_info = false;
|
||||
else if (!strcmp(argv[i], "--suppressions"))
|
||||
else if (!strcmp(argv[i], "--suppressions")
|
||||
|| !strcmp(argv[i], "--suppr"))
|
||||
{
|
||||
int j = i + 1;
|
||||
if (j >= argc)
|
||||
|
Loading…
Reference in New Issue
Block a user