Hide --no-dbus in help output, as it is replaced by --dbus BUS

This commit is contained in:
Ingo Ruhnke 2012-01-24 11:44:36 +01:00
parent 23c0314cb4
commit e3f3e23cbf

View file

@ -190,7 +190,7 @@ CommandLineParser::init_argp()
.add_option(OPTION_DAEMON, 'D', "daemon", "", "Run as daemon")
.add_option(OPTION_DAEMON_DETACH, 0, "detach", "", "Detach the daemon from the current shell")
.add_option(OPTION_DAEMON_PID_FILE, 0, "pid-file", "FILE", "Write daemon pid to FILE")
.add_option(OPTION_DAEMON_NO_DBUS, 0, "no-dbus", "", "Disables D-Bus support in the daemon")
.add_option(OPTION_DAEMON_NO_DBUS, 0, "no-dbus", "", "Disables D-Bus support in the daemon", false)
.add_option(OPTION_DAEMON_DBUS, 0, "dbus", "MODE", "Set D-Bus mode (auto, system, session, disabled)")
.add_option(OPTION_DAEMON_ON_CONNECT, 0, "on-connect", "FILE", "Launch EXE when a new controller is connected")
.add_option(OPTION_DAEMON_ON_DISCONNECT, 0, "on-disconnect", "FILE", "Launch EXE when a controller is disconnected")