summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-05-10 16:40:25 +0200
committerMatthias Beyer <matthias.beyer@atos.net>2021-05-10 16:40:25 +0200
commit0acc1304b1568a9661a6c946281f0feb58541c4b (patch)
treee88216238d8af1fa62932fe3193ec9efb60e9053 /src/cli.rs
parentb5a3f02a05311d5f5a4eb35b8d2513cb6a543560 (diff)
Add help text about environment functions
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 4c629f8..db99b53 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -26,6 +26,14 @@ pub fn cli<'a>() -> App<'a> {
.version(crate_version!())
.about("Generic Build Orchestration System for building linux packages with docker")
+ .after_help(r#"
+ The folowing environment variables can be passed to butido:
+
+ RUST_LOG - to enable logging, for exact usage see the rust cookbook
+ PAGER - to change the pager
+ NOPAGER - to disable automatic use of the PAGER
+ "#)
+
.arg(Arg::new("hide_bars")
.required(false)
.multiple(false)