aboutsummaryrefslogtreecommitdiff
path: root/b4/command.py
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-08-30 11:19:07 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-08-30 11:19:07 -0400
commite7564108c7e68094f1a6320f4166185a3e29cac1 (patch)
tree470f8a82554c0541e36ab43a06e418d9308e2b38 /b4/command.py
parentbfc54c8b55425f82574fbda42fbb10851b99dfa6 (diff)
downloadb4-e7564108c7e68094f1a6320f4166185a3e29cac1.tar.gz
ez: reimplement --resend
Instead of --resend just being a flag to add a RESEND prefix, allow us to actually resend a previously sent series using the tag we have applied and stored in sent/. E.g. if we have previously sent a v2, thus automatically rerolling a v3, we can resend a v2 again without needing to do anything else by using: b4 send --resend v2 alternatively, we can use a full tag name: b4 send --resend sent/some-series-topic-v2 Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/command.py')
-rw-r--r--b4/command.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/b4/command.py b/b4/command.py
index 1678d45..7eb7700 100644
--- a/b4/command.py
+++ b/b4/command.py
@@ -298,8 +298,8 @@ def cmd():
sp_send.add_argument('--cc', nargs='+', help='Addresses to add to the Cc: list')
sp_send.add_argument('--not-me-too', action='store_true', default=False,
help='Remove yourself from the To: or Cc: list')
- sp_send.add_argument('--resend', action='store_true', default=False,
- help='This is a resend of a previously sent series')
+ sp_send.add_argument('--resend', default=None,
+ help='Resend a previously sent version of the series')
sp_send.add_argument('--no-sign', action='store_true', default=False,
help='Do not cryptographically sign your patches with patatt')
ag_sendh = sp_send.add_argument_group('Web submission', 'Authenticate with the web submission endpoint')