threads / patch / 11010

patch, 2 partsTwo small doc fixes

Subject: [StGit PATCH 0/2] Two small doc fixes

## tl;dr

3 messages between Nov 25, 2007 and Nov 25, 2007. Diffs are folded; open one to read it.

replies: 2people: 1as markdown or json

Karl Hasselström· Nov 25, 2007, 20:35 UTC · lore
---
Also available from
  git://repo.or.cz/stgit/kha.git safe
Karl Hasselström (2):
      Add missing switch to "stg uncommit" usage line
      Push and pop don't have --to flags anymore
 stgit/commands/goto.py     |    5 ++---
 stgit/commands/uncommit.py |    2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)
-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Karl Hasselström· Nov 25, 2007, 20:35 UTC · re: Karl Hasselström · lore

[StGit PATCH 1/2] Push and pop don't have --to flags anymore

Signed-off-by: Karl Hasselström <kha@treskal.com>
---
 stgit/commands/goto.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
Show changes to stgit/commands/goto.py +2 −2
diff --git a/stgit/commands/goto.py b/stgit/commands/goto.py
index 7f9d45d..84b840b 100644
--- a/stgit/commands/goto.py
+++ b/stgit/commands/goto.py
@@ -27,9 +27,8 @@ help = 'push or pop patches to the given one'
 usage = """%prog [options] <name>
 
 Push/pop patches to/from the stack until the one given on the command
-line becomes current. This is a shortcut for the 'push --to' or 'pop
---to' commands. There is no '--undo' option for 'goto'. Use the 'push'
-command for this."""
+line becomes current. There is no '--undo' option for 'goto'. Use the
+'push --undo' command for this."""
 
 directory = DirectoryGotoToplevel()
 options = [make_option('-k', '--keep',
Karl Hasselström· Nov 25, 2007, 20:35 UTC · re: Karl Hasselström · lore

[StGit PATCH 2/2] Add missing switch to "stg uncommit" usage line

Signed-off-by: Karl Hasselström <kha@treskal.com>
---
 stgit/commands/uncommit.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to stgit/commands/uncommit.py +1 −1
diff --git a/stgit/commands/uncommit.py b/stgit/commands/uncommit.py
index 9a46c94..ba3448f 100644
--- a/stgit/commands/uncommit.py
+++ b/stgit/commands/uncommit.py
@@ -26,7 +26,7 @@ from stgit.out import *
 from stgit import stack, git
 
 help = 'turn regular GIT commits into StGIT patches'
-usage = """%prog [<patchnames>] | -n NUM [<prefix>]] | -t <committish>
+usage = """%prog [<patchnames>] | -n NUM [<prefix>]] | -t <committish> [-x]
 
 Take one or more git commits at the base of the current stack and turn
 them into StGIT patches. The new patches are created as applied patches

← back to recent threads