From c25e005c8796b769cf46577de71ffe10ab648d01 Mon Sep 17 00:00:00 2001 From: Keith Hall <11882719+keith-hall@users.noreply.github.com> Date: Mon, 3 Feb 2025 21:48:07 +0200 Subject: [PATCH] Add missing command line switches to manpage - `--binary` - `--completion` - `--strip-ansi` --- assets/manual/bat.1.in | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/assets/manual/bat.1.in b/assets/manual/bat.1.in index 84608c15..86923db7 100644 --- a/assets/manual/bat.1.in +++ b/assets/manual/bat.1.in @@ -37,6 +37,23 @@ Use character sequences like ^G, ^J, ^@, .. to identify non-printable characters Use special Unicode code points to identify non-printable characters .RE .HP +\fB\-\-binary\fR +.IP +How to treat binary content. + +Possible values: +.RS +.IP "no\-printing" +Do not print any binary content (default) +.IP "as\-text" +Treat binary content as normal text +.RE +.HP +\fB\-\-completion\fR +.IP +Show shell completion for a certain shell. +Possible values: bash, fish, zsh, ps1 +.HP \fB\-p\fR, \fB\-\-plain\fR .IP Only show plain style, no decorations. This is an alias for @@ -197,6 +214,12 @@ Squeeze consecutive empty lines into a single empty line. .IP Set the maximum number of consecutive empty lines to be printed. .HP +\fB\-\-strip\-ansi\fR +.IP +Specify when to strip ANSI escape sequences from the input. The automatic mode will remove +escape sequences unless the syntax highlighting language is plain text. Possible values: +auto, always, *never*. +.HP \fB\-\-style\fR .IP Configure which elements (line numbers, file headers, grid borders, Git modifications,