]> sourceware.org Git - libabigail.git/commit
Add --impacted-changes option to kmidiff
authorDodji Seketeli <dodji@redhat.com>
Fri, 6 Oct 2017 09:25:48 +0000 (11:25 +0200)
committerDodji Seketeli <dodji@redhat.com>
Sun, 8 Oct 2017 16:51:35 +0000 (18:51 +0200)
commitcef581e9e1224bbcba5107477e8383a4002627a3
tree4f90f87065991617fd136537fc933125329e6a4d
parent9b34a860e2300c27268933700cb812fe8dc1bf5c
Add --impacted-changes option to kmidiff

kmidiff displays leaf changes by default and and it does so by *not*
showing impacted interfaces.

This patch add a --impacted-changes option to kmidiff so that it shows
the interfaces that are impacted by each leaf change.  Thus, by
default, no impacted interface is shown.

* doc/manuals/kmidiff.rst: Document the new --impacted-changes
option.
* tools/kmidif.cc (options::show_impacted_interfaces): Add new
data member.
(options::options): Initialize the new data member to false.
(display_usage): Add a description string for the new
--impacted-changes option.
(parse_command_line): Parse the new --impacted-changes option.
(set_diff_context): Update the 'show-impacted-interface' property
accordingly.

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