1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-10 20:01:45 +00:00

italics enable|disable working

This commit is contained in:
Nisheet Sinvhal
2018-11-01 22:02:04 +05:30
committed by David Peter
parent d702d6740c
commit e90308e1f8
3 changed files with 10 additions and 4 deletions
+3 -1
View File
@@ -324,10 +324,12 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
Arg::with_name("enable-italics")
.long("enable-italics")
.takes_value(true)
.multiple(false)
.value_name("always|*never*")
.possible_values(&["always", "never"])
.default_value("never")
.hide_default_value(true)
.help("Use italics in output (always, *never)")
.help("Use italics in output (always, *never*)")
)
.subcommand(
SubCommand::with_name("cache")