configuration: synchronize with man page
This commit is contained in:
@@ -15,8 +15,17 @@ Connect to server at host [localhost]
|
|||||||
.B \-p, \-\-port
|
.B \-p, \-\-port
|
||||||
Connect to server at port [6600]
|
Connect to server at port [6600]
|
||||||
.TP
|
.TP
|
||||||
|
.B \-\-current-song
|
||||||
|
Print current song using given format and exit
|
||||||
|
.TP
|
||||||
.B \-c, \-\-config
|
.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
|
.TP
|
||||||
.B \-s, \-\-screen <name>
|
.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)
|
Specify the startup screen (<name> may be: help, playlist, browser, search_engine, media_library, playlist_editor, tag_editor, outputs, visualizer, clock)
|
||||||
|
|||||||
@@ -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)")
|
("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")
|
("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")
|
("bindings,b", po::value<std::string>(&bindings_path)->default_value("~/.ncmpcpp/bindings"), "specify bindings file")
|
||||||
("screen,s", po::value<std::string>(), "specify initial screen")
|
("screen,s", po::value<std::string>(), "specify the startup screen")
|
||||||
("slave-screen,S", po::value<std::string>(), "specify initial slave screen")
|
("slave-screen,S", po::value<std::string>(), "specify the startup slave screen")
|
||||||
("help,?", "show help message")
|
("help,?", "show help message")
|
||||||
("version,v", "display version information")
|
("version,v", "display version information")
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user