# [StGit PATCH 0/2] Two small doc fixes

3 messages from 2007-11-25 to 2007-11-25. Participants: Karl Hasselström.
Thread: https://gitlist.dev/t/11010

## Karl Hasselström, 2007-11-25 20:35

Subject: [StGit PATCH 0/2] Two small doc fixes
Message-ID: <20071125203346.7640.80801.stgit@yoghurt>
URL: https://gitlist.dev/e/20071125203346.7640.80801.stgit%40yoghurt

```
---

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, 2007-11-25 20:35

Subject: [StGit PATCH 1/2] Push and pop don't have --to flags anymore
Message-ID: <20071125203532.7640.91609.stgit@yoghurt>
URL: https://gitlist.dev/e/20071125203532.7640.91609.stgit%40yoghurt
In-Reply-To: <20071125203346.7640.80801.stgit@yoghurt>

```
Signed-off-by: Karl Hasselström <kha@treskal.com>

---

 stgit/commands/goto.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


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, 2007-11-25 20:35

Subject: [StGit PATCH 2/2] Add missing switch to "stg uncommit" usage line
Message-ID: <20071125203538.7640.98844.stgit@yoghurt>
URL: https://gitlist.dev/e/20071125203538.7640.98844.stgit%40yoghurt
In-Reply-To: <20071125203346.7640.80801.stgit@yoghurt>

```
Signed-off-by: Karl Hasselström <kha@treskal.com>

---

 stgit/commands/uncommit.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


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

```
