on master help sign in
Add missing command line options to the manpage
commitfcde4824d571055e802c8a589abb97861dd0f0a6 authorKeith Hall <kingkeith+github@gmail.com> dateSun 10 Jan 2021, 22:14 (6 years ago) parentb0e5828
1 file changed+13−1
assets/manual/bat.1.in+13−1
assets/manual/bat.1.in+13−1
@@ -40,7 +40,7 @@ language names and file extensions.
4040.HP
4141\fB\-H\fR, \fB\-\-highlight\-line\fR <N:M>...
4242.IP
43−Highlight the specified line ranges with a different background color For example:
43+Highlight the specified line ranges with a different background color. For example:
4444.RS
4545.IP "\-\-highlight\-line 40"
4646highlights line 40
@@ -52,6 +52,18 @@ highlights lines 1 to 40
5252highlights lines 40 to the end of the file
5353.RE
5454.HP
55+\fB\-\-file\-name\fR <name>...
56+.IP
57+Specify the name to display for a file. Useful when piping data to {{PROJECT_EXECUTABLE}} from STDIN when {{PROJECT_EXECUTABLE}} does not otherwise know the filename. Note that the provided file name is also used for syntax detection.
58+.HP
59+\fB\-d\fR, \fB\-\-diff\fR
60+.IP
61+Only show lines that have been added/removed/modified with respect to the Git index. Use '\-\-diff\-context=N' to control how much context you want to see.
62+.HP
63+\fB\-\-diff\-context\fR <N>...
64+.IP
65+Include N lines of context around added/removed/modified lines when using '\-\-diff'.
66+.HP
5567\fB\-\-tabs\fR <T>
5668.IP
5769Set the tab width to T spaces. Use a width of 0 to pass tabs through directly