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.
This commit is contained in:
Inaky Perez-Gonzalez 2010-07-23 13:59:51 -07:00 committed by Denis Kenzior
parent 94344e967b
commit 402a4b0750
2 changed files with 14 additions and 1 deletions

10
HACKING
View File

@ -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

View File

@ -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.