X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/fcee87cf868f18a3d684c3ba71232574f92c7b11..9e3f506f0d0e1b0c09d1e9d7051af23bfede7834:/stgit/commands/top.py diff --git a/stgit/commands/top.py b/stgit/commands/top.py index 676c7ad..f36a0b0 100644 --- a/stgit/commands/top.py +++ b/stgit/commands/top.py @@ -25,9 +25,12 @@ from stgit import stack, git help = 'print the name of the top patch' -usage = '%prog' +usage = """%prog [options] -options = [] +Print the name of the current (topmost) patch.""" + +options = [make_option('-b', '--branch', + help = 'use BRANCH instead of the default one')] def func(parser, options, args):