diff --git a/assets/manual/bat.1.in b/assets/manual/bat.1.in index 65a17fe1..5dd01609 100644 --- a/assets/manual/bat.1.in +++ b/assets/manual/bat.1.in @@ -40,7 +40,7 @@ language names and file extensions. .HP \fB\-H\fR, \fB\-\-highlight\-line\fR ... .IP -Highlight the specified line ranges with a different background color For example: +Highlight the specified line ranges with a different background color. For example: .RS .IP "\-\-highlight\-line 40" highlights line 40 @@ -52,6 +52,18 @@ highlights lines 1 to 40 highlights lines 40 to the end of the file .RE .HP +\fB\-\-file\-name\fR ... +.IP +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. +.HP +\fB\-d\fR, \fB\-\-diff\fR +.IP +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. +.HP +\fB\-\-diff\-context\fR ... +.IP +Include N lines of context around added/removed/modified lines when using '\-\-diff'. +.HP \fB\-\-tabs\fR .IP Set the tab width to T spaces. Use a width of 0 to pass tabs through directly