summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"));