Add short '-L' option as an alias for --list-languages

This commit is contained in:
sharkdp 2019-08-31 13:22:16 +02:00
parent 83a213bae7
commit e289a2c698

View File

@ -54,6 +54,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
.arg( .arg(
Arg::with_name("list-languages") Arg::with_name("list-languages")
.long("list-languages") .long("list-languages")
.short("L")
.conflicts_with("list-themes") .conflicts_with("list-themes")
.help("Display all supported languages.") .help("Display all supported languages.")
.long_help("Display a list of supported languages for syntax highlighting."), .long_help("Display a list of supported languages for syntax highlighting."),