From 436c09d6484b657056db07f68b11da116bbd0307 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 30 Aug 2020 04:27:39 +0200 Subject: doc/git-sugdiff.1: Add a note about Git diff option support Not sure if I should be emphasising this more. --- doc/git-sugdiff.1 | 8 +++++--- doc/git-sugdiff.1.txt | 4 +++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/git-sugdiff.1 b/doc/git-sugdiff.1 index 345b91c..1f386a0 100644 --- a/doc/git-sugdiff.1 +++ b/doc/git-sugdiff.1 @@ -2,12 +2,12 @@ .\" Title: git-sugdiff .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 08/23/2020 +.\" Date: 08/30/2020 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" -.TH "GIT\-SUGDIFF" "1" "08/23/2020" "\ \&" "\ \&" +.TH "GIT\-SUGDIFF" "1" "08/30/2020" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,13 +31,15 @@ git-sugdiff \- Show diffs for GitHub suggestions .SH "SYNOPSIS" .sp -\fIgit sugdiff\fR [options] \&... +\fIgit sugdiff\fR [options] [git\-diff\-options] \&... .SH "DESCRIPTION" .sp Show the diffs of the given GitHub suggestion references\&. .sp A suggestion reference is either a URL to the comment, or its ID\&. .SH "OPTIONS" +.sp +All standard Git diff options are supported\&. .PP \-\-github\-token= .RS 4 diff --git a/doc/git-sugdiff.1.txt b/doc/git-sugdiff.1.txt index 9960949..a596240 100644 --- a/doc/git-sugdiff.1.txt +++ b/doc/git-sugdiff.1.txt @@ -7,7 +7,7 @@ git-sugdiff - Show diffs for GitHub suggestions SYNOPSIS -------- -'git sugdiff' [options] ... +'git sugdiff' [options] [git-diff-options] ... DESCRIPTION ----------- @@ -17,6 +17,8 @@ A suggestion reference is either a URL to the comment, or its ID. OPTIONS ------- +All standard Git diff options are supported. + --github-token=:: A GitHub API token with the “repo” permission. This can also be set with `githubSuggestion.githubToken` or the `GITHUB_TOKEN` -- cgit v1.2.3