Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2009-03-22 17:13:29 +0100
committerDan McGee <dan@archlinux.org>2009-04-05 21:11:48 -0500
commit5fcc9ae7f4cb4044ed0a7e4c7b06567256d5f36a (patch)
tree55e19fd0bfdcc845b043e9271ca3d4b4b8c59130
parent9519d22df7cef5b5a48a7d1ebee44a9e935e02b7 (diff)
Document --debug
After some irc/forum experiences, I decided to document this option. However, I left the debug-level undocumented (--debug=2). Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--doc/pacman.8.txt6
-rw-r--r--src/pacman/pacman.c1
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index c5748724..95880a25 100644
--- a/doc/pacman.8.txt
+++ b/doc/pacman.8.txt
@@ -124,9 +124,13 @@ Options
command line or in linkman:pacman.conf[5], their default location will
be inside this root path.
-*-v, --verbose*::
+*-v, \--verbose*::
Output paths such as as the Root, Conf File, DB Path, Cache Dirs, etc.
+*\--debug*::
+ Display debug messages. When reporting bugs, this option is recommended
+ to be used.
+
*\--cachedir* <'dir'>::
Specify an alternative package cache location (a typical default is
``/var/cache/pacman/pkg''). Multiple cache directories can be specified,
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 59916d62..14cfdfa1 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -143,6 +143,7 @@ static void usage(int op, const char * const myname)
printf(_(" --noprogressbar do not show a progress bar when downloading files\n"));
printf(_(" --noscriptlet do not execute the install scriptlet if one exists\n"));
printf(_(" -v, --verbose be verbose\n"));
+ printf(_(" --debug display debug messages\n"));
printf(_(" -r, --root <path> set an alternate installation root\n"));
printf(_(" -b, --dbpath <path> set an alternate database location\n"));
printf(_(" --cachedir <dir> set an alternate package cache location\n"));