From: Michael Schroeder Date: Wed, 27 Mar 2019 11:00:01 +0000 (+0100) Subject: Document rpmdb2solv options X-Git-Tag: 0.7.4~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67f17114e8025a780d826b3bd8006de3fdb6222c;p=thirdparty%2Flibsolv.git Document rpmdb2solv options --- diff --git a/doc/rpmdb2solv.txt b/doc/rpmdb2solv.txt index ad8314f0..128e1792 100644 --- a/doc/rpmdb2solv.txt +++ b/doc/rpmdb2solv.txt @@ -47,6 +47,9 @@ standard directory is */etc/products.d*. Do not read any packages from the rpm database. This is useful together with *-p* to only convert SUSE products. +*-C*:: +Include the package changelog in the generated solv file. + *-X*:: Autoexpand SUSE pattern and product provides into packages. diff --git a/tools/rpmdb2solv.c b/tools/rpmdb2solv.c index 58ef5675..1a04adf8 100644 --- a/tools/rpmdb2solv.c +++ b/tools/rpmdb2solv.c @@ -41,11 +41,13 @@ static void usage(int status) { fprintf(stderr, "\nUsage:\n" - "rpmdb2solv [-n] [-b ] [-p ] [-r ]\n" + "rpmdb2solv [-P] [-C] [-n] [-b ] [-p ] [-r ]\n" " -n : No packages, do not read rpmdb, useful to only parse products\n" " -p : Scan for .prod files, representing installed products\n" " -r : Prefix rpmdb path and with \n" " -o : Write .solv to file instead of stdout\n" + " -P : print percentage done\n" + " -C : include the changelog\n" ); exit(status); }