summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2010-07-23 13:59:51 -0700
committerDenis Kenzior <denkenz@gmail.com>2010-07-23 17:04:26 -0500
commit402a4b0750cfffc327e10de38f11eca2a72341d9 (patch)
tree7c663da0cc658e7ea58d6c9239dc3aea1d8bb01d
parent94344e967b4cd3edd65aa5254ef4b4f5dd037e69 (diff)
downloadofono-402a4b0750cfffc327e10de38f11eca2a72341d9.tar.bz2
manpage: explain debugging options to -d
Modified HACKING and man page to have more formation on what are the debugging options and how to enable them.
-rw-r--r--HACKING10
-rw-r--r--doc/ofonod.85
2 files changed, 14 insertions, 1 deletions
diff --git a/HACKING b/HACKING
index ae420aa0..e8251856 100644
--- a/HACKING
+++ b/HACKING
@@ -81,3 +81,13 @@ automatically includes this option.
For production installations or distribution packaging it is important that
the "--enable-maintainer-mode" option is NOT used.
+
+Note multiple arguments to -d can be specified, colon, comma or space
+separated. The arguments are relative source code filenames for which
+debugging output should be enabled; output shell-style globs are
+accepted (e.g.: 'plugins/*:src/main.c').
+
+Other debugging settings that can be toggled:
+
+ - Environment variable OFONO_AT_DEBUG (set to 1): enable AT commands
+ debugging
diff --git a/doc/ofonod.8 b/doc/ofonod.8
index 474d7fb3..7bb908cb 100644
--- a/doc/ofonod.8
+++ b/doc/ofonod.8
@@ -18,7 +18,10 @@ is used to manage \fID-Bus\fP permissions for oFono.
.SH OPTIONS
.TP
.B --debug, -d
-Enable debug information output.
+Enable debug information output. Note multiple arguments to -d can be
+specified, colon, comma or space separated. The arguments are relative
+source code filenames for which debugging output should be enabled;
+output shell-style globs are accepted (e.g.: "plugins/*:src/main.c").
.TP
.B --nodetach, -n
Don't run as daemon in background.