mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-30 22:54:07 +00:00 
			
		
		
		
	Update help text
This commit is contained in:
		| @@ -204,10 +204,10 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> { | |||||||
|                 .long_help( |                 .long_help( | ||||||
|                     "Specify when to use the pager. To control which pager \ |                     "Specify when to use the pager. To control which pager \ | ||||||
|                      is used, set the PAGER or BAT_PAGER environment \ |                      is used, set the PAGER or BAT_PAGER environment \ | ||||||
|                      variables (the latter takes precedence) or set --pager option.\ |                      variables (the latter takes precedence) or use the '--pager' option. \ | ||||||
|                      The default  pager is 'less'. To disable the pager permanently,\ |                      The default pager is 'less'. To disable the pager permanently,\ | ||||||
|                      set BAT_PAGER to an empty string. \ |                      set BAT_PAGER to an empty string or set '--pager \"\"' in the config \ | ||||||
|                      Possible values: *auto*, never, always.", |                      file. Possible values: *auto*, never, always.", | ||||||
|                 ), |                 ), | ||||||
|         ) |         ) | ||||||
|         .arg( |         .arg( | ||||||
| @@ -215,12 +215,13 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> { | |||||||
|                 .long("pager") |                 .long("pager") | ||||||
|                 .overrides_with("pager") |                 .overrides_with("pager") | ||||||
|                 .takes_value(true) |                 .takes_value(true) | ||||||
|                 .value_name("pager-command") |                 .value_name("command") | ||||||
|                 .hidden_short_help(true) |                 .hidden_short_help(true) | ||||||
|                 .help("Set pager") |                 .help("Determine which pager to use.") | ||||||
|                 .long_help( |                 .long_help( | ||||||
|                     "Set which pager is used. This option will overwrite \ |                     "Determine which pager is used. This option will overwrite \ | ||||||
|                      PAGER or BAT_PAGER environment variables.", |                      the PAGER and BAT_PAGER environment variables. \ | ||||||
|  |                      Example: '--pager \"less -RF\"'.", | ||||||
|                 ), |                 ), | ||||||
|         ) |         ) | ||||||
|         .arg( |         .arg( | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user