diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-06-21 15:47:28 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-06-21 15:56:48 -0400 |
commit | 4723cf025bcf4e18025e1cb0e89c005f322932a7 (patch) | |
tree | 1b353d66f8fe1f6c33727841e79e154bfb8dc1d2 /src/cli.rs | |
parent | 11216b424d2b1f01c47a56611f0abdf4a1905a34 (diff) |
Make opt.features non-Option
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -169,12 +169,12 @@ https://github.com/dandavison/delta/issues. " )] pub struct Opt { - #[structopt(long = "features", env = "DELTA_FEATURES")] + #[structopt(long = "features", env = "DELTA_FEATURES", default_value = "")] /// Name of delta features to use (space-separated). A feature is a named collection of delta /// options in ~/.gitconfig. The feature names can also be set using an environment variable /// named DELTA_FEATURES. Two built-in features are available: 'diff-highlight' and /// 'diff-so-fancy'. See FEATURES section. - pub features: Option<String>, + pub features: String, #[structopt(long = "syntax-theme", env = "BAT_THEME")] /// The code syntax-highlighting theme to use. Use --list-syntax-themes to demo available |