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.
This commit is contained in:
Max Kellermann
2009-07-15 18:27:32 +02:00
parent 62f9df98b4
commit 7261739526
3 changed files with 5 additions and 2 deletions

View File

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