Add a --no-architecture option to abidiff
authorDodji Seketeli <dodji@redhat.com>
Sat, 29 Aug 2015 10:59:13 +0000 (12:59 +0200)
committerDodji Seketeli <dodji@redhat.com>
Sat, 29 Aug 2015 14:23:15 +0000 (16:23 +0200)
commite61afa7291b0418a6cdab72d165b7581ef719976
treeb6c2b2967272308477058a8665bf3ce368294c72
parent843de38b6c63fd08eb2f54fc4a04c569fa8a5620
Add a --no-architecture option to abidiff

This new option omits architectures when comparing ABIs.

* tools/abidiff.cc (options::no_arch): New data member.
(options::options): Initialize it.
(display_usage): Display a help string for the new options.
(parse_command_line): Parse the new options.
(main): If --no-architecture is provided, set the corpus
architecture to "".
* doc/manuals/abidiff.rst: Document the new options.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
doc/manuals/abidiff.rst
tools/abidiff.cc