Generate unique patch names
[stgit] / stgit / commands / applied.py
index 94b26c6..d568cd6 100644 (file)
@@ -25,9 +25,14 @@ from stgit import stack, git
 
 
 help = 'print the applied patches'
-usage = '%prog'
+usage = """%prog [options]
 
-options = []
+List the patches from the series which were already pushed onto the
+stack.  They are listed in the order in which they were pushed, the
+last one being the current (topmost) patch."""
+
+options = [make_option('-b', '--branch',
+                       help = 'use BRANCH instead of the default one')]
 
 
 def func(parser, options, args):