chiark / gitweb /
Add a --branch option to different commands
[stgit] / stgit / commands / series.py
index fb8abb7c1a1a4c3b1f0ebec4502d8cd7364c2fe9..263f39341d99cdd22e08722ce35b643e6cc786b3 100644 (file)
@@ -31,7 +31,8 @@ Show all the patches in the series. The applied patches are prefixed
 with a '+' and the unapplied ones with a '-'. The current patch is
 prefixed with a '>'. Empty patches are prefixed with a '0'."""
 
-options = []
+options = [make_option('-b', '--branch',
+                       help = 'use BRANCH instead of the default one')]
 
 
 def func(parser, options, args):