Skip to content

Commit

Permalink
Add options generated by completions to the man page
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jun 9, 2024
1 parent 090b605 commit 02e1188
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions assets/manual/bat.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,18 @@ Display a list of supported languages for syntax highlighting.
This option exists for POSIX\-compliance reasons ('u' is for 'unbuffered'). The output is
always unbuffered \- this option is simply ignored.
.HP
\fB\-\-no\-custom\-assets\fR
.IP
Do not load custom assets.
.HP
\fB\-\-config\-dir\fR
.IP
Show bat's configuration directory.
.HP
\fB\-\-cache\-dir\fR
.IP
Show bat's cache directory.
.HP
\fB\-\-diagnostic\fR
.IP
Show diagnostic information for bug reports.
Expand Down Expand Up @@ -241,6 +253,20 @@ location of the configuration file.
To generate a default configuration file, call:

\fB{{PROJECT_EXECUTABLE}} --generate-config-file\fR

These are related options:
.HP
\fB\-\-config\-file\fR
.IP
Show path to the configuration file.
.HP
\fB\-\-generate-config\-file\fR
.IP
Generates a default configuration file.
.HP
\fB\-\-no\-config\fR
.IP
Do not use the configuration file.
.SH "ADDING CUSTOM LANGUAGES"
{{PROJECT_EXECUTABLE}} supports Sublime Text \fB.sublime-syntax\fR language files, and can be
customized to add additional languages to your local installation. To do this, add the \fB.sublime-syntax\fR language
Expand Down Expand Up @@ -287,6 +313,16 @@ To temporarily disable the preprocessor if it is enabled by default, call:

\fB{{PROJECT_EXECUTABLE}} --no-lessopen\fR

These are related options:
.HP
\fB\-\-lessopen\fR
.IP
Enable the $LESSOPEN preprocessor.
.HP
\fB\-\-no\-lessopen\fR
.IP
Disable the $LESSOPEN preprocessor if enabled (overrides --lessopen)
.PP
For more information, see the "INPUT PREPROCESSOR" section of less(1).

.SH "MORE INFORMATION"
Expand Down

0 comments on commit 02e1188

Please sign in to comment.