summaryrefslogtreecommitdiff
path: root/b4/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'b4/command.py')
-rw-r--r--b4/command.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/b4/command.py b/b4/command.py
index 72a2fe1..6d516a3 100644
--- a/b4/command.py
+++ b/b4/command.py
@@ -97,6 +97,8 @@ def cmd():
help='Add a lore.kernel.org/r/ link to every patch')
sp_am.add_argument('-Q', '--quilt-ready', dest='quiltready', action='store_true', default=False,
help='Save mbox patches in a quilt-ready folder')
+ sp_am.add_argument('-P', '--cherry-pick', dest='cherrypick', default=None,
+ help='Cherry-pick a subset of patches (e.g. -P 1-2,4,6-)')
sp_am.set_defaults(func=cmd_am)
# b4 attest