on master help sign in
doc: mention BAT_THEME in help output
commit8e6c5bc562c78bde0fc0381554042893e09fe4cf authorTim Sampson <tim@sampson.fi> dateWed 22 Aug 2018, 10:46 (8 years ago) parent052425b
1 file changed+4−1
src/app.rs+4−1
src/app.rs+4−1
@@ -129,7 +129,10 @@ impl App {
129129 .help("Set the theme for highlighting")
130130 .long_help(
131131 "Set the theme for syntax highlighting. Use '--list-themes' to \
132− see all available themes",
132+ see all available themes. To set a default theme export the \
133+ BAT_THEME environment variable e.g. use export \
134+ BAT_THEME=\"TwoDark\" in your shells startup file to \
135+ permanently use the TwoDark theme.",
133136 ),
134137 ).arg(
135138 Arg::with_name("line-range")