on master help sign in
Update help text
commitc1246fcd5309b5e7740ae950ca6095590e7bb969 authorDavid Peter <sharkdp@users.noreply.github.com> dateSun 21 Oct 2018, 22:13 (8 years ago) parent9f401ea
1 file changed+9−8
src/clap_app.rs+9−8
src/clap_app.rs+9−8
@@ -204,10 +204,10 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
204204 .long_help(
205205 "Specify when to use the pager. To control which pager \
206206 is used, set the PAGER or BAT_PAGER environment \
207− variables (the latter takes precedence) or set --pager option.\
208− The default pager is 'less'. To disable the pager permanently,\
209− set BAT_PAGER to an empty string. \
210− Possible values: *auto*, never, always.",
207+ variables (the latter takes precedence) or use the '--pager' option. \
208+ The default pager is 'less'. To disable the pager permanently,\
209+ set BAT_PAGER to an empty string or set '--pager \"\"' in the config \
210+ file. Possible values: *auto*, never, always.",
211211 ),
212212 )
213213 .arg(
@@ -215,12 +215,13 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
215215 .long("pager")
216216 .overrides_with("pager")
217217 .takes_value(true)
218− .value_name("pager-command")
218+ .value_name("command")
219219 .hidden_short_help(true)
220− .help("Set pager")
220+ .help("Determine which pager to use.")
221221 .long_help(
222− "Set which pager is used. This option will overwrite \
223− PAGER or BAT_PAGER environment variables.",
222+ "Determine which pager is used. This option will overwrite \
223+ the PAGER and BAT_PAGER environment variables. \
224+ Example: '--pager \"less -RF\"'.",
224225 ),
225226 )
226227 .arg(