Make abidiff *NOT* show redundant changes by default

Now that we are handling redundant diff node marking (and reporting)
with more finesse, I guess we can enable redundant diff reporting
elision by default again.

	* tools/abidiff.cc (options::options): Initialize
	options::show_redundant_changes to false.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2014-12-26 15:50:06 +01:00
parent 3ca026b0ee
commit c887ad69ba

View File

@ -95,7 +95,7 @@ struct options
show_linkage_names(true), show_linkage_names(true),
show_harmful_changes(true), show_harmful_changes(true),
show_harmless_changes(false), show_harmless_changes(false),
show_redundant_changes(true), show_redundant_changes(false),
show_symbols_not_referenced_by_debug_info(true) show_symbols_not_referenced_by_debug_info(true)
{} {}
};//end struct options; };//end struct options;
@ -129,8 +129,9 @@ display_usage(const string& prog_name, ostream& out)
<< " --keep-var <regex> keep only variables matching a regex\n" << " --keep-var <regex> keep only variables matching a regex\n"
<< " --harmless display the harmless changes\n" << " --harmless display the harmless changes\n"
<< " --no-harmful do not display the harmful changes\n" << " --no-harmful do not display the harmful changes\n"
<< " --redundant display redundant changes (this is the default)\n" << " --redundant display redundant changes\n"
<< " --no-redundant do not display redundant changes\n" << " --no-redundant do not display redundant changes "
"(this is the default)\n"
<< " --help display this message\n"; << " --help display this message\n";
} }