{"thread":{"id":"6616","subject":"[PATCH] Fixes to doc strings.","startedAt":"2007-02-01T22:28:28Z","lastAt":"2007-02-01T22:28:28Z","messageCount":1,"participants":["Yann Dirson"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"33300","messageId":"20070201222752.29383.56882.stgit@gandelf.nowhere.earth","threadId":"6616","inReplyTo":null,"subject":"[PATCH] Fixes to doc strings.","fromName":"Yann Dirson","fromEmail":"ydirson@altern.org","sentAt":"2007-02-01T22:28:28Z","receivedAt":"2007-02-01T22:28:28Z","isPatch":true,"sender":{"key":"ydirson@altern.org","avatar":"https://avatars.githubusercontent.com/u/1190950?v=4"},"body":"\nAt least the docstring for \"branch\" is still very confusing, but\nthat's hard to fix.  We'll likely have to wait for the post-1.0\ncommand-line redesign.\n\nSigned-off-by: Yann Dirson <ydirson@altern.org>\n---\n\n stgit/commands/float.py    |    2 +-\n stgit/commands/init.py     |   11 ++++-------\n stgit/commands/uncommit.py |    2 +-\n 3 files changed, 6 insertions(+), 9 deletions(-)\n\ndiff --git a/stgit/commands/float.py b/stgit/commands/float.py\nindex 4da5f59..0e32f6b 100644\n--- a/stgit/commands/float.py\n+++ b/stgit/commands/float.py\n@@ -24,7 +24,7 @@ from stgit.utils import *\n from stgit import stack, git\n \n help = 'push patches to the top, even if applied'\n-usage = \"\"\"%prog [options] [<patches> | <series>]\n+usage = \"\"\"%prog [<patches> | -s [<series>] ]\n \n Push a patch or a range of patches to the top even if applied. The\n necessary pop and push operations will be performed to accomplish\ndiff --git a/stgit/commands/init.py b/stgit/commands/init.py\nindex 0326f9a..df2235f 100644\n--- a/stgit/commands/init.py\n+++ b/stgit/commands/init.py\n@@ -24,15 +24,12 @@ from stgit.utils import *\n from stgit import stack, git\n \n \n-help = 'initialise the tree for use with StGIT'\n+help = 'initialise the current branch for use with StGIT'\n usage = \"\"\"%prog [options]\n \n-Initialise a GIT repository to be used with StGIT. Note that the\n-repository must be already initialised with git-init-db and the\n-.git/HEAD link must point to a valid file in refs/heads/. For people\n-switching between multiple branches in the same repository, the 'init'\n-command has to be run on all the individual branches intended to be\n-used with StGIT.\"\"\"\n+Initialise the current GIT branch to be used as an StGIT stack. Note\n+that the you must already be in a GIT repository and .git/HEAD must\n+point to a valid file in refs/heads/.\"\"\"\n \n options = []\n \ndiff --git a/stgit/commands/uncommit.py b/stgit/commands/uncommit.py\nindex 9798f19..0ee1585 100644\n--- a/stgit/commands/uncommit.py\n+++ b/stgit/commands/uncommit.py\n@@ -25,7 +25,7 @@ from stgit.utils import *\n from stgit import stack, git\n \n help = 'turn regular GIT commits into StGIT patches'\n-usage = \"\"\"%prog [options] [<patchname1> [<patchname2> ... ]]\n+usage = \"\"\"%prog [<patchname1> [<patchname2> ... ] | -n [<prefix>]]\n \n Take one or more git commits at the base of the current stack and turn\n them into StGIT patches. The new patches are created as applied patches\n"}]}