aboutsummaryrefslogtreecommitdiff
path: root/b4/command.py
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-03-24 18:14:49 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-03-24 18:14:49 -0400
commit40c23a568562ec9cc8f81ac8336c257a3b7091e6 (patch)
treea4071227d23d4062c3194187438b969e77908545 /b4/command.py
parent9475be9cbeaaf2d7e8bac022a5ac6df8d580cb98 (diff)
downloadb4-40c23a568562ec9cc8f81ac8336c257a3b7091e6.tar.gz
Warn when we are ignoring trailers
Provide a warning when we are ignoring trailers due to from/name mismatch between the headers and the body. Also provides a -S,--sloppy-trailers option to ignore all mismatches. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
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 a2c7c28..3997035 100644
--- a/b4/command.py
+++ b/b4/command.py
@@ -75,6 +75,8 @@ def cmd():
help='Get a specific version of the patch/series')
sp_am.add_argument('-t', '--apply-cover-trailers', dest='covertrailers', action='store_true', default=False,
help='Apply trailers sent to the cover letter to all patches')
+ sp_am.add_argument('-S', '--sloppy-trailers', dest='sloppytrailers', action='store_true', default=False,
+ help='Apply trailers without email address match checking')
sp_am.add_argument('-T', '--no-add-trailers', dest='noaddtrailers', action='store_true', default=False,
help='Do not add or sort any trailers')
sp_am.add_argument('-s', '--add-my-sob', dest='addmysob', action='store_true', default=False,