aboutsummaryrefslogtreecommitdiff
path: root/b4/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'b4/command.py')
-rw-r--r--b4/command.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/b4/command.py b/b4/command.py
index 3f130c8..2d6994d 100644
--- a/b4/command.py
+++ b/b4/command.py
@@ -160,6 +160,11 @@ def cmd():
help='Attempt to retrieve any Link: URLs (use with -e)')
sp_pr.add_argument('-f', '--from-addr', dest='mailfrom', default=None,
help='Use this From: in exploded messages (use with -e)')
+ sp_pr.add_argument('-s', '--send-as-identity', dest='sendidentity', default=None,
+ help=('Use git-send-email to send exploded series (use with -e);'
+ 'the identity must match a [sendemail "identity"] config section'))
+ sp_pr.add_argument('--dry-run', dest='dryrun', action='store_true', default=False,
+ help='Force a --dry-run on git-send-email invocation (use with -s)')
sp_pr.add_argument('msgid', nargs='?',
help='Message ID to process, or pipe a raw message')
sp_pr.set_defaults(func=cmd_pr)