]> sourceware.org Git - libabigail.git/commit
Wire the --no-show-locs option to abidw
authorDodji Seketeli <dodji@redhat.com>
Thu, 2 Nov 2017 11:46:32 +0000 (12:46 +0100)
committerDodji Seketeli <dodji@redhat.com>
Thu, 2 Nov 2017 11:57:11 +0000 (12:57 +0100)
commit8c51a895250f787c31a8027a66b363d95c3a9beb
tree7997cd52f63e16990161efb1e3cd52e6d35870d0
parentb438c0648efa927e480a1383f21ed9f6f2b4a117
Wire the --no-show-locs option to abidw

Up until now, the --no-show-locs option only had effect when abidiff
was used with the --abidiff option.  It had no effect on the ABIXML
output of abidw.

This patch changes that to make it so that --no-show-locs avoids
emitting source location to the ABIXML output.

* doc/manuals/abidw.rst: Update the documentation.
* tests/test-annotate.cc: Now that --no-show-locs has an effect on
the ABIXML output, let's not use it here, because it changes the
output and we don't want that.
* tools/abidw.cc (display_usage): Fix a typo in the help string.
(load_corpus_and_write_abixml): Set the "show-locs" option to the
write_context object that we use.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
doc/manuals/abidw.rst
tests/test-annotate.cc
tools/abidw.cc
This page took 0.030157 seconds and 5 git commands to generate.