logging: don't add --debug

--debug is already taken to change the global debug level.
Just offer -d for now.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
This commit is contained in:
Colin Patrick McCabe 2011-03-15 14:47:48 -07:00
parent 9862afa49e
commit 2319ae13aa
4 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ and specifying the rank overrides specifying the name.
Foreground: do not daemonize after startup (run in foreground).
Do not generate a pid file. Useful when run via crun (8).
.TP
\fB\-d\fP, \fB\-\-debug\f
\fB\-d\fP
Debug mode: like -f, but also send all log output to stderr.
.TP
\fB\-c\fI ceph.conf\fR, \fB\-\-conf=\fIceph.conf\fR

View File

@ -22,7 +22,7 @@ in the configuration file.
Foreground: do not daemonize after startup (run in foreground).
Do not generate a pid file. Useful when run via crun (8).
.TP
\fB\-d\fP, \fB\-\-debug\f
\fB\-d\fP
Debug mode: like -f, but also send all log output to stderr.
.TP
\fB\-c\fI ceph.conf\fR, \fB\-\-conf=\fIceph.conf\fR

View File

@ -23,7 +23,7 @@ disk than \fIdatapath\fP with low latency (ideally, an NVRAM device).
Foreground: do not daemonize after startup (run in foreground).
Do not generate a pid file. Useful when run via crun (8).
.TP
\fB\-d\fP, \fB\-\-debug\f
\fB\-d\fP
Debug mode: like -f, but also send all log output to stderr.
.TP
\fB\-\-osd\-data \fIosddata\fP

View File

@ -912,7 +912,7 @@ parse_argv(std::vector<const char*>& args)
daemonize = false;
set_cv(&pid_file, NULL);
}
else if (ceph_argparse_flag(args, i, "--debug", "-d", NULL)) {
else if (ceph_argparse_flag(args, i, "-d", NULL)) {
daemonize = false;
set_cv(&log_dir, NULL);
set_cv(&pid_file, NULL);