Added args

This commit is contained in:
Nisheet Sinvhal authored and David Peter committed 2018-11-04 19:40:05 +01:00
1 parent c6a526f99c
commit d702d6740c
2 files changed
+15

No files matched your search

+9
View File
@@ -320,6 +320,15 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
.hidden(true)
.help("Show path to the configuration file."),
)
.arg(
Arg::with_name("enable-italics")
.long("enable-italics")
.takes_value(true)
.possible_values(&["always", "never"])
.default_value("never")
.hide_default_value(true)
.help("Use italics in output (always, *never)")
)
.subcommand(
SubCommand::with_name("cache")
.about("Modify the syntax-definition and theme cache")