Skip to content

Commit c25e005

Browse files
committed
Add missing command line switches to manpage
- `--binary` - `--completion` - `--strip-ansi`
1 parent c4d7451 commit c25e005

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

assets/manual/bat.1.in

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,23 @@ Use character sequences like ^G, ^J, ^@, .. to identify non-printable characters
3737
Use special Unicode code points to identify non-printable characters
3838
.RE
3939
.HP
40+
\fB\-\-binary\fR <behavior>
41+
.IP
42+
How to treat binary content.
43+
44+
Possible values:
45+
.RS
46+
.IP "no\-printing"
47+
Do not print any binary content (default)
48+
.IP "as\-text"
49+
Treat binary content as normal text
50+
.RE
51+
.HP
52+
\fB\-\-completion\fR <SHELL>
53+
.IP
54+
Show shell completion for a certain shell.
55+
Possible values: bash, fish, zsh, ps1
56+
.HP
4057
\fB\-p\fR, \fB\-\-plain\fR
4158
.IP
4259
Only show plain style, no decorations. This is an alias for
@@ -197,6 +214,12 @@ Squeeze consecutive empty lines into a single empty line.
197214
.IP
198215
Set the maximum number of consecutive empty lines to be printed.
199216
.HP
217+
\fB\-\-strip\-ansi\fR <when>
218+
.IP
219+
Specify when to strip ANSI escape sequences from the input. The automatic mode will remove
220+
escape sequences unless the syntax highlighting language is plain text. Possible values:
221+
auto, always, *never*.
222+
.HP
200223
\fB\-\-style\fR <style\-components>
201224
.IP
202225
Configure which elements (line numbers, file headers, grid borders, Git modifications,

0 commit comments

Comments
 (0)