pages*: convert long-short to short-long syntax (#13567)

* pages*: convert long-short to short-long syntax

* git-add: fix typo
This commit is contained in:
Sebastiaan Speck
2024-09-03 02:43:42 +02:00
committed by GitHub
parent fb7d0ff4c6
commit 380fd5d441
24 changed files with 58 additions and 58 deletions

View File

@@ -18,20 +18,20 @@
- Highlight a specific line or a range of lines with a different background color:
`bat {{--highlight-line|-H}} {{10|5:10|:10|10:|10:+5}} {{path/to/file}}`
`bat {{-H|--highlight-line}} {{10|5:10|:10|10:|10:+5}} {{path/to/file}}`
- Show non-printable characters like space, tab or newline:
`bat {{--show-all|-A}} {{path/to/file}}`
`bat {{-A|--show-all}} {{path/to/file}}`
- Remove all decorations except line numbers in the output:
`bat {{--number|-n}} {{path/to/file}}`
`bat {{-n|--number}} {{path/to/file}}`
- Syntax highlight a JSON file by explicitly setting the language:
`bat {{--language|-l}} json {{path/to/file.json}}`
`bat {{-l|--language}} json {{path/to/file.json}}`
- Display all supported languages:
`bat {{--list-languages|-L}}`
`bat {{-L|--list-languages}}`