chiark / gitweb /
git-debrebase(1): Fix new-upstream -i docs
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 4 Feb 2020 10:42:37 +0000 (10:42 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 22 Jun 2020 18:04:08 +0000 (19:04 +0100)
Firstly, the -i must come at the end.  (After -i come more git-rebase
options.)

Secondly, this wasn't mentioned at all in the main section for
new-upstream - only in the synopsis.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debrebase.1.pod

index bc1fdd646d6dbf3ccee1334db593f5efbb7d8301..639b07d2e6af4feb4b17a0b9720d6e08a222a774 100644 (file)
@@ -14,7 +14,7 @@ These are most of the commands you will regularly need:
  git debrebase -i                           # edit the patch queue
  git debrebase conclude && git push         # push to eg salsa
  git debrebase conclude && dgit push-source # source-only upload
- git debrebase [-i] new-upstream 1.2.3-1    # uses tag, eg "v1.2.3"
+ git debrebase new-upstream 1.2.3-1 [-i]    # uses tag, eg "v1.2.3"
  dpkg-buildpackage -uc -b                   # get test debs, at any time
 
 To add patches, or edit the packaging, just make git commits.
@@ -134,7 +134,7 @@ and discarding all working tree changes.
 
 If you are in the middle of a git-rebase, will abort that too.
 
-=item git-debrebase new-upstream <new-version> [<upstream-details>...]
+=item git-debrebase new-upstream <new-version> [<upstream-details>...] [--|-i <git-rebase options...>]
 
 Rebases the delta queue
 onto a new upstream version.  In detail: