diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2022-08-22 13:30:21 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2022-08-22 13:30:21 -0400 |
commit | 6d8abb347af380dab9c7952260622f955d86c995 (patch) | |
tree | 1cc13a25212817163a37cac0395d77842568e4b0 /b4/command.py | |
parent | 0c1df59fccc0174838d6fd6f8d2bd1248ce706b2 (diff) | |
download | b4-6d8abb347af380dab9c7952260622f955d86c995.tar.gz |
ez: allow passing --since to b4 trailers
Reduce the default range to 1.month and allow overriding with other
values when trying to update trailers from arbitrary ML threads.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/command.py')
-rw-r--r-- | b4/command.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/b4/command.py b/b4/command.py index 25615e3..af2ce65 100644 --- a/b4/command.py +++ b/b4/command.py @@ -274,12 +274,14 @@ def cmd(): sp_trl = subparsers.add_parser('trailers', help='Operate on trailers received for mailing list reviews') sp_trl.add_argument('-u', '--update', action='store_true', default=False, help='Update branch commits with latest received trailers') - sp_trl.add_argument('-F', '--trailers-from', dest='msgid', - help='Look for trailers in the thread with this msgid instead of using the series change-id') sp_trl.add_argument('-s', '--signoff', action='store_true', default=False, help='Add my Signed-off-by trailer, if not already present') sp_trl.add_argument('-S', '--sloppy-trailers', dest='sloppytrailers', action='store_true', default=False, help='Apply trailers without email address match checking') + sp_trl.add_argument('-F', '--trailers-from', dest='msgid', + help='Look for trailers in the thread with this msgid instead of using the series change-id') + sp_trl.add_argument('--since', default='1.month', + help='The --since option to use with -F when auto-matching patches (default=1.month)') sp_trl.set_defaults(func=cmd_trailers) # b4 send |