aboutsummaryrefslogtreecommitdiff
path: root/b4/command.py
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-08-23 13:31:07 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-08-23 13:31:07 -0400
commita17dd19c0426b37de2262b50bfba4761b863a6d6 (patch)
treeacda242de357eee347fc86ae552c7a2d40290b3b /b4/command.py
parent7b8cd8047d3c17b08ad888e5bf525bdcb9cc6bbd (diff)
downloadb4-a17dd19c0426b37de2262b50bfba4761b863a6d6.tar.gz
ez: move the RESEND prefix into --resend switch
For UX reasons, make --resend a separate switch instead of operating on the --prefixes RESEND logic. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/command.py')
-rw-r--r--b4/command.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/b4/command.py b/b4/command.py
index af2ce65..1678d45 100644
--- a/b4/command.py
+++ b/b4/command.py
@@ -290,14 +290,16 @@ def cmd():
help='Do not send, just dump out raw smtp messages to the stdout')
sp_send.add_argument('-o', '--output-dir',
help='Do not send, write raw messages to this directory (forces --dry-run)')
- sp_send.add_argument('--prefixes', nargs='+', choices=['RFC', 'WIP', 'RESEND'],
- help='Prefixes to add to PATCH (e.g. RFC, WIP, RESEND)')
+ sp_send.add_argument('--prefixes', nargs='+',
+ help='Prefixes to add to PATCH (e.g. RFC, WIP)')
sp_send.add_argument('--no-auto-to-cc', action='store_true', default=False,
help='Do not automatically collect To: and Cc: addresses')
sp_send.add_argument('--to', nargs='+', help='Addresses to add to the To: list')
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('--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')