X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/fcee87cf868f18a3d684c3ba71232574f92c7b11..681f805ef4688c7ea450f5e72a15dad818809734:/stgit/commands/init.py diff --git a/stgit/commands/init.py b/stgit/commands/init.py index 77ee1a2..0326f9a 100644 --- a/stgit/commands/init.py +++ b/stgit/commands/init.py @@ -25,7 +25,14 @@ from stgit import stack, git help = 'initialise the tree for use with StGIT' -usage = '%prog' +usage = """%prog [options] + +Initialise a GIT repository to be used with StGIT. Note that the +repository must be already initialised with git-init-db and the +.git/HEAD link must point to a valid file in refs/heads/. For people +switching between multiple branches in the same repository, the 'init' +command has to be run on all the individual branches intended to be +used with StGIT.""" options = []