From: Michael Schroeder Date: Wed, 27 Mar 2019 11:00:01 +0000 (+0100) Subject: Document rpmdb2solv options X-Git-Tag: 0.6.36~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ad07e7723d38f4508db7b2ae9643cbff9f70153;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 71fd11c1..9fa85807 100644 --- a/tools/rpmdb2solv.c +++ b/tools/rpmdb2solv.c @@ -41,12 +41,14 @@ 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" " -b : Write .solv to .solv instead of stdout\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); }