on master help sign in
Improve --map-syntax documentation, see #1386
commit1ae16fca90e326e11a284de232362d43059a07fb authorsharkdp <davidpeter@web.de> dateSun 10 Jan 2021, 16:21 (6 years ago) parent0e2bef3
1 file changed+2−1
src/bin/bat/clap_app.rs+2−1
src/bin/bat/clap_app.rs+2−1
@@ -328,7 +328,8 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
328328 "Map a glob pattern to an existing syntax name. The glob pattern is matched \
329329 on the full path and the filename. For example, to highlight *.build files \
330330 with the Python syntax, use -m '*.build:Python'. To highlight files named \
331− '.myignore' with the Git Ignore syntax, use -m '.myignore:Git Ignore'.",
331+ '.myignore' with the Git Ignore syntax, use -m '.myignore:Git Ignore'. Note \
332+ that the right-hand side is the *name* of the syntax, not a file extension.",
332333 )
333334 .takes_value(true),
334335 )