Two small doc fixes
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
PATCH 1/2 Push and pop don't have --to flags anymore
Signed-off-by Karl Hasselström <[email protected]>
---
stgit/commands/goto.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
stgit/commands/goto.py +2 -3
@@ -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',
PATCH 2/2 Add missing switch to "stg uncommit" usage line
In reply to Karl HasselströmSigned-off-by Karl Hasselström <[email protected]>
---
stgit/commands/uncommit.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
stgit/commands/uncommit.py +1 -1
@@ -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