Add --list-languages argument to clap.

This commit is contained in:
Connor Kuehl 2018-05-07 08:36:02 -07:00 committed by David Peter
parent ef7c39b159
commit 67bed73e15
1 changed files with 6 additions and 0 deletions

View File

@ -453,6 +453,12 @@ fn run() -> Result<()> {
.default_value("auto")
.help("When to use the pager"),
)
.arg(
Arg::with_name("list languages")
.long("list-languages")
.takes_value(false)
.help("Displays supported languages")
)
.subcommand(
SubCommand::with_name("cache")
.about("Modify the syntax-definition and theme cache")