on master help sign in
Add missing command line options to the manpage
fcde482Keith Hall
assets/manual/bat.1.in+13−1
@@ -40,7 +40,7 @@ language names and file extensions.
40.HP
40.HP
41\fB\-H\fR, \fB\-\-highlight\-line\fR <N:M>...
41\fB\-H\fR, \fB\-\-highlight\-line\fR <N:M>...
42.IP
42.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:
44.RS
44.RS
45.IP "\-\-highlight\-line 40"
45.IP "\-\-highlight\-line 40"
46highlights line 40
46highlights line 40
@@ -52,6 +52,18 @@ highlights lines 1 to 40
52highlights lines 40 to the end of the file
52highlights lines 40 to the end of the file
53.RE
53.RE
54.HP
54.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
55\fB\-\-tabs\fR <T>
67\fB\-\-tabs\fR <T>
56.IP
68.IP
57Set the tab width to T spaces. Use a width of 0 to pass tabs through directly
69Set the tab width to T spaces. Use a width of 0 to pass tabs through directly