aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-07-15 18:27:32 +0200
committerMax Kellermann <max@duempel.org>2009-07-15 18:27:32 +0200
commit7261739526312f4ce8695fbd75a61a7cc5e3b9d3 (patch)
treec65a0b2a67cae2a61f2e07cee39b9194500f011f /src/cmdline.c
parent62f9df98b43724db268c3f63f5fab5a369526bfb (diff)
downloadmpd-7261739526312f4ce8695fbd75a61a7cc5e3b9d3.tar.gz
mpd-7261739526312f4ce8695fbd75a61a7cc5e3b9d3.tar.xz
mpd-7261739526312f4ce8695fbd75a61a7cc5e3b9d3.zip
cmdline: renamed option "--stdout" to "--stderr"
Since version 0.14, MPD has been logging to standard error instead of standard output. The option name should reflect that. The old option continues to work, we will remove it in a future MPD release.
Diffstat (limited to 'src/cmdline.c')
-rw-r--r--src/cmdline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmdline.c b/src/cmdline.c
index 5d2f10136..cb796ebab 100644
--- a/src/cmdline.c
+++ b/src/cmdline.c
@@ -97,6 +97,8 @@ void parse_cmdline(int argc, char **argv, struct options *options)
{ "no-daemon", 0, 0, G_OPTION_ARG_NONE, &option_no_daemon,
"don't detach from console", NULL },
{ "stdout", 0, 0, G_OPTION_ARG_NONE, &options->stderr,
+ NULL, NULL },
+ { "stderr", 0, 0, G_OPTION_ARG_NONE, &options->stderr,
"print messages to stderr", NULL },
{ "verbose", 'v', 0, G_OPTION_ARG_NONE, &options->verbose,
"verbose logging", NULL },