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:
committed by
David Peter
parent
d702d6740c
commit
e90308e1f8
+3
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user