summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-12-17 17:42:03 +0000
committerDan Davison <dandavison7@gmail.com>2020-12-17 17:43:53 +0000
commita52e36d521fa03cffc457a031bd08340f6318767 (patch)
treee70cee816b8e8758dd85f8e67be39de224cd9208
parent5f85977b6eb89beb35d6cad35b5b04721ec7f973 (diff)
Support DELTA_FEATURES environment variable
Ref #447 #307
-rw-r--r--src/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.rs b/src/cli.rs
index b6b9b314..41483a99 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -286,7 +286,7 @@ pub struct Opt {
pub color_only: bool,
////////////////////////////////////////////////////////////////////////////////////////////
- #[structopt(long = "features", default_value = "")]
+ #[structopt(long = "features", default_value = "", env = "DELTA_FEATURES")]
/// Name of delta features to use (space-separated). A feature is a named collection of delta
/// options in ~/.gitconfig. See FEATURES section.
pub features: String,