configuration: synchronize with man page

This commit is contained in:
Andrzej Rybczak
2015-09-12 21:54:40 +02:00
parent 72cfd27c30
commit 9f9fcecd61
2 changed files with 12 additions and 3 deletions

View File

@@ -15,8 +15,17 @@ Connect to server at host [localhost]
.B \-p, \-\-port
Connect to server at port [6600]
.TP
.B \-\-current-song
Print current song using given format and exit
.TP
.B \-c, \-\-config
Use alternative configuration file
Specify configuration file(s)
.TP
.B \-\-ignore-config-errors
Ignore unknown and invalid options in configuration files
.TP
.B \-c, \-\-bindings
Specify bindings file
.TP
.B \-s, \-\-screen <name>
Specify the startup screen (<name> may be: help, playlist, browser, search_engine, media_library, playlist_editor, tag_editor, outputs, visualizer, clock)

View File

@@ -81,8 +81,8 @@ bool configure(int argc, char **argv)
("config,c", po::value<std::vector<std::string>>(&config_paths)->default_value(default_config_paths, join<std::string>(default_config_paths, " AND ")), "specify configuration file(s)")
("ignore-config-errors", "ignore unknown and invalid options in configuration files")
("bindings,b", po::value<std::string>(&bindings_path)->default_value("~/.ncmpcpp/bindings"), "specify bindings file")
("screen,s", po::value<std::string>(), "specify initial screen")
("slave-screen,S", po::value<std::string>(), "specify initial slave screen")
("screen,s", po::value<std::string>(), "specify the startup screen")
("slave-screen,S", po::value<std::string>(), "specify the startup slave screen")
("help,?", "show help message")
("version,v", "display version information")
;