summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-12-03 19:04:40 +0100
committerWerner Koch <wk@gnupg.org>2009-12-03 19:04:40 +0100
commitcb5491bfaf8f9c24652af8f02ac21ca2a1cb884d (patch)
tree884ff5e015bd066e13e1e920566b3445db8c9503 /doc
parentFix usage of realloc. (diff)
downloadgnupg2-cb5491bfaf8f9c24652af8f02ac21ca2a1cb884d.tar.xz
gnupg2-cb5491bfaf8f9c24652af8f02ac21ca2a1cb884d.zip
support numeric debug levels.
Diffstat (limited to 'doc')
-rw-r--r--doc/gpg-agent.texi34
-rw-r--r--doc/gpg.texi28
-rw-r--r--doc/gpgsm.texi18
-rw-r--r--doc/scdaemon.texi20
4 files changed, 73 insertions, 27 deletions
diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi
index 74a30591f..344f41250 100644
--- a/doc/gpg-agent.texi
+++ b/doc/gpg-agent.texi
@@ -213,20 +213,26 @@ forth to @var{epoch} which is the number of seconds elapsed since the year
@item --debug-level @var{level}
@opindex debug-level
Select the debug level for investigating problems. @var{level} may be
-one of:
-
- @table @code
- @item none
- no debugging at all.
- @item basic
- some basic debug messages
- @item advanced
- more verbose debug messages
- @item expert
- even more detailed messages
- @item guru
- all of the debug messages you can get
- @end table
+a numeric value or a keyword:
+
+@table @code
+@item none
+No debugging at all. A value of less than 1 may be used instead of
+the keyword.
+@item basic
+Some basic debug messages. A value between 1 and 2 may be used
+instead of the keyword.
+@item advanced
+More verbose debug messages. A value between 3 and 5 may be used
+instead of the keyword.
+@item expert
+Even more detailed messages. A value between 6 and 8 may be used
+instead of the keyword.
+@item guru
+All of the debug messages you can get. A value greater than 8 may be
+used instead of the keyword. The creation of hash tracing files is
+only enabled if the keyword is used.
+@end table
How these messages are mapped to the actual debugging flags is not
specified and may change with newer releases of this program. They are
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 8ec755648..b405e5b71 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -2146,6 +2146,34 @@ therefore enables a fast listing of the encryption keys.
@opindex interactive
Prompt before overwriting any files.
+@item --debug-level @var{level}
+@opindex debug-level
+Select the debug level for investigating problems. @var{level} may be
+a numeric value or by a keyword:
+
+@table @code
+@item none
+No debugging at all. A value of less than 1 may be used instead of
+the keyword.
+@item basic
+Some basic debug messages. A value between 1 and 2 may be used
+instead of the keyword.
+@item advanced
+More verbose debug messages. A value between 3 and 5 may be used
+instead of the keyword.
+@item expert
+Even more detailed messages. A value between 6 and 8 may be used
+instead of the keyword.
+@item guru
+All of the debug messages you can get. A value greater than 8 may be
+used instead of the keyword. The creation of hash tracing files is
+only enabled if the keyword is used.
+@end table
+
+How these messages are mapped to the actual debugging flags is not
+specified and may change with newer releases of this program. They are
+however carefully selected to best aid in debugging.
+
@item --debug @var{flags}
@opindex debug
Set debugging flags. All flags are or-ed and @var{flags} may
diff --git a/doc/gpgsm.texi b/doc/gpgsm.texi
index 5835c7213..ffa325aa8 100644
--- a/doc/gpgsm.texi
+++ b/doc/gpgsm.texi
@@ -617,19 +617,25 @@ is given as fingerprint or keygrip.
@item --debug-level @var{level}
@opindex debug-level
Select the debug level for investigating problems. @var{level} may be
-one of:
+a numeric value or by a keyword:
@table @code
@item none
-no debugging at all.
+No debugging at all. A value of less than 1 may be used instead of
+the keyword.
@item basic
-some basic debug messages
+Some basic debug messages. A value between 1 and 2 may be used
+instead of the keyword.
@item advanced
-more verbose debug messages
+More verbose debug messages. A value between 3 and 5 may be used
+instead of the keyword.
@item expert
-even more detailed messages
+Even more detailed messages. A value between 6 and 8 may be used
+instead of the keyword.
@item guru
-all of the debug messages you can get
+All of the debug messages you can get. A value greater than 8 may be
+used instead of the keyword. The creation of hash tracing files is
+only enabled if the keyword is used.
@end table
How these messages are mapped to the actual debugging flags is not
diff --git a/doc/scdaemon.texi b/doc/scdaemon.texi
index 86ce9c03b..3c8427997 100644
--- a/doc/scdaemon.texi
+++ b/doc/scdaemon.texi
@@ -123,20 +123,26 @@ verbose commands to @command{gpgsm}, such as @samp{-vv}.
@item --debug-level @var{level}
@opindex debug-level
-Select the debug level for investigating problems. @var{level} may be
-one of:
+Select the debug level for investigating problems. @var{level} may be
+a numeric value or a keyword:
@table @code
@item none
-no debugging at all.
+No debugging at all. A value of less than 1 may be used instead of
+the keyword.
@item basic
-some basic debug messages
+Some basic debug messages. A value between 1 and 2 may be used
+instead of the keyword.
@item advanced
-more verbose debug messages
+More verbose debug messages. A value between 3 and 5 may be used
+instead of the keyword.
@item expert
-even more detailed messages
+Even more detailed messages. A value between 6 and 8 may be used
+instead of the keyword.
@item guru
-all of the debug messages you can get
+All of the debug messages you can get. A value greater than 8 may be
+used instead of the keyword. The creation of hash tracing files is
+only enabled if the keyword is used.
@end table
How these messages are mapped to the actual debugging flags is not