Ask git for author and committer name
[stgit] / stgit / commands / top.py
index 676c7ad..f36a0b0 100644 (file)
@@ -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):