2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-16 21:25:56 +00:00

Remove short versions for --style and --color for now

This commit is contained in:
sharkdp 2018-05-06 18:23:43 +02:00
parent 9eb64b97fe
commit ccb1d78b22

View File

@ -470,7 +470,7 @@ fn run() -> Result<()> {
Arg::with_name("language") Arg::with_name("language")
.short("l") .short("l")
.long("language") .long("language")
.help("Language of the file(s)") .help("Set the language for highlighting")
.takes_value(true), .takes_value(true),
) )
.arg( .arg(
@ -481,7 +481,6 @@ fn run() -> Result<()> {
) )
.arg( .arg(
Arg::with_name("style") Arg::with_name("style")
.short("s")
.long("style") .long("style")
.possible_values(&["auto", "plain", "line-numbers", "full"]) .possible_values(&["auto", "plain", "line-numbers", "full"])
.default_value("auto") .default_value("auto")
@ -489,7 +488,6 @@ fn run() -> Result<()> {
) )
.arg( .arg(
Arg::with_name("color") Arg::with_name("color")
.short("c")
.long("color") .long("color")
.takes_value(true) .takes_value(true)
.possible_values(&["auto", "never", "always"]) .possible_values(&["auto", "never", "always"])