on master help sign in
Update help text, closes #713
20ba984sharkdp
assets/manual/bat.1.in+3−2
@@ -93,8 +93,9 @@ the pager completely, use the '\-\-paging' option. Example: '\-\-pager "less
93.HP
93.HP
94\fB\-m\fR, \fB\-\-map\-syntax\fR <from:to>...
94\fB\-m\fR, \fB\-\-map\-syntax\fR <from:to>...
95.IP
95.IP
96−Map a file extension or file name to an existing syntax. For example, to
96+Map a file extension or file name to an existing syntax (specified by a
97+file extension or file name). For example, to
97−highlight *.conf files with the INI syntax, use '\-m conf:ini'. To
98+highlight *.build files with the Python syntax, use '\-m build:py'. To
98highlight files named '.myignore' with the Git Ignore syntax, use '\-m
99highlight files named '.myignore' with the Git Ignore syntax, use '\-m
99\&.myignore:gitignore'.
100\&.myignore:gitignore'.
100.HP
101.HP
src/bin/bat/clap_app.rs+4−4
@@ -246,10 +246,10 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
246 .value_name("from:to")
246 .value_name("from:to")
247 .help("Map a file extension or name to an existing syntax.")
247 .help("Map a file extension or name to an existing syntax.")
248 .long_help(
248 .long_help(
249− "Map a file extension or file name to an existing syntax. For example, \
249+ "Map a file extension or file name to an existing syntax (specified by a file \
250− to highlight *.conf files with the INI syntax, use '-m conf:ini'. \
250+ extension or file name). For example, to highlight *.build files with the \
251− To highlight files named '.myignore' with the Git Ignore syntax, use \
251+ Python syntax, use '-m build:py'. To highlight files named '.myignore' with \
252− '-m .myignore:gitignore'.",
252+ the Git Ignore syntax, use '-m .myignore:gitignore'.",
253 )
253 )
254 .takes_value(true),
254 .takes_value(true),
255 )
255 )