From: Klaus Kaempf Date: Wed, 13 Aug 2008 08:29:49 +0000 (+0000) Subject: document usage X-Git-Tag: BASE-SuSE-Code-12_1-Branch~308^2~265 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6aa8ce53a1912e54841a81f97c0c19b37d73f2fb;p=thirdparty%2Flibsolv.git document usage --- diff --git a/tools/rpmdb2solv.c b/tools/rpmdb2solv.c index d9b402ad..29d6f7e8 100644 --- a/tools/rpmdb2solv.c +++ b/tools/rpmdb2solv.c @@ -10,6 +10,15 @@ * * Reads rpm database (and evtl. more, like product metadata) to build * a .solv file of 'installed' solvables. + * Writes .solv to stdout + * + * Usage: + * rpmdb2solv [-n] [-x] [-b ] [-p ] [-r ] + * -n : No packages, do not read rpmdb, useful to only parse products + * -x : use extrapool + * -b : Write .solv to .solv instead of stdout + * -p : Scan for .prod files, representing installed products + * -r : Prefix rpmdb path and with * */