diff --git a/man/cmds.8 b/man/cmds.8 index 76fde6c30e7..7a891ced98e 100644 --- a/man/cmds.8 +++ b/man/cmds.8 @@ -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 diff --git a/man/cmon.8 b/man/cmon.8 index 501c30b72c4..97900ae8b19 100644 --- a/man/cmon.8 +++ b/man/cmon.8 @@ -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 diff --git a/man/cosd.8 b/man/cosd.8 index 6e8ddc4e5b6..c1ad1c8249e 100644 --- a/man/cosd.8 +++ b/man/cosd.8 @@ -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 diff --git a/src/common/config.cc b/src/common/config.cc index 70df50c5eca..96f167ac251 100644 --- a/src/common/config.cc +++ b/src/common/config.cc @@ -912,7 +912,7 @@ parse_argv(std::vector& 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);