on master help sign in
Clarify stdin syntax highlighting in the README
fca83bfAlexander Jackson
README.md+3−1
@@ -62,7 +62,9 @@ Display multiple files at once
62> bat src/*.rs
62> bat src/*.rs
63```
63```
64
64
65−Read from stdin, determine the syntax automatically
65+Read from stdin, determine the syntax automatically (note, this will only work
66+if the syntax can be determined from the initial line of the file, usually
67+through a shebang such as `#!/bin/sh`)
66
68
67```bash
69```bash
68> curl -s https://sh.rustup.rs | bat
70> curl -s https://sh.rustup.rs | bat