Skip to contentSkip to conversation

Two small doc fixes

PATCH New Karl Hasselström 1 participant 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

cover Two small doc fixes

---

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(-)
Signature · 2 lines
Karl Hasselström, [email protected]
      www.treskal.com/kalle
#1 lore raw

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

---

 stgit/commands/goto.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
stgit/commands/goto.py +2 -3
index 7f9d45d..84b840b 100644
@@ -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',
#2 lore raw

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

In reply to Karl Hasselström

---

 stgit/commands/uncommit.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
stgit/commands/uncommit.py +1 -1
index 9a46c94..ba3448f 100644
@@ -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