]> sourceware.org Git - libabigail.git/commit
Support up to two --wp options for abipkgdiff
authorDodji Seketeli <dodji@redhat.com>
Tue, 11 Jul 2017 16:06:50 +0000 (18:06 +0200)
committerDodji Seketeli <dodji@redhat.com>
Wed, 12 Jul 2017 08:40:15 +0000 (10:40 +0200)
commit63acb64bcf5aeec5a1e13c28e9487023d19a7ab8
treea4e56ada7c850507f5322d65b54c58ed240823d9
parent514a6176212ef62056bb5a9ac965f698d2dcc05f
Support up to two --wp options for abipkgdiff

The user should be able to specify one white list package per kernel
package on the command line.  That means the user should be able to
say:

    --wp whitelist-pkg1 --wp whitelist-pkg2

on the command line.

This patch adds support for that.

* doc/manuals/abipkgdiff.rst: Update the documentation to say that
--wp can be provided twice, but not more than that.
* tools/abipkgdiff.cc (options::kabi_whitelist_packages): Rename
kabi_whitelist_package to this, and make be of vector<string>
type.
(package::erase_extraction_directories): Erase the white list
package extracted data.
(maybe_handle_kabi_whitelist_pkg, parse_command_line): Adjust.
(main): Make sure there is no more than 2 --wp on the command
line.  Associate a white list package to each kernel package on
the command line.

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