chiark / gitweb /
Add a --branch option to different commands
[stgit] / stgit / commands / rename.py
index 78a473f14ce8d931ffa8acfbd131dd27a9b5ddf0..ca799c3a96316663b5f5e57ebb4f0a1e0b2f2030 100644 (file)
@@ -28,7 +28,8 @@ usage = """%prog [options] <oldpatch> <newpatch>
 
 Rename <oldpatch> into <newpatch> in a series."""
 
-options = []
+options = [make_option('-b', '--branch',
+                       help = 'use BRANCH instead of the default one')]
 
 
 def func(parser, options, args):