diff options
author | Dan McGee <dan@archlinux.org> | 2010-05-05 11:18:27 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-05 11:18:27 -0500 |
commit | d485c0370f554758a28eff2cc32b2cc9c72a4604 (patch) | |
tree | 837600604eac5e14a8b1799a4bcce0c7a0517ac5 /src/pacman | |
parent | 9528c36452a6ca8b3718ef5895f31f46c16b17fa (diff) |
Improve documentation of -k/--dbonly
We had the long option wrong in some places and its behavior wasn't
documented at all with regards to -U/--upgrade.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman')
-rw-r--r-- | src/pacman/pacman.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 7461b6ba..09a81059 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -90,7 +90,7 @@ static void usage(int op, const char * const myname) printf("%s:\n", str_opt); printf(_(" -c, --cascade remove packages and all packages that depend on them\n")); printf(_(" -d, --nodeps skip dependency checks\n")); - printf(_(" -k, --dbonly only remove database entry, do not remove files\n")); + printf(_(" -k, --dbonly only remove database entries, do not remove files\n")); printf(_(" -n, --nosave remove configuration files as well\n")); printf(_(" -s, --recursive remove dependencies also (that won't break packages)\n" " (-ss includes explicitly installed dependencies too)\n")); @@ -105,6 +105,7 @@ static void usage(int op, const char * const myname) printf(_(" --asexplicit install packages as explicitly installed\n")); printf(_(" -d, --nodeps skip dependency checks\n")); printf(_(" -f, --force force install, overwrite conflicting files\n")); + printf(_(" -k, --dbonly add database entries, do not install or keep existing files\n")); printf(_(" --print only print the targets instead of performing the operation\n")); printf(_(" --print-format <string>\n" " specify how the targets should be printed\n")); |