diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-05-17 17:53:57 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-05-17 17:53:57 -0400 |
commit | 6bec820cb9d015e99e4f5bf375fba098ba5b2f30 (patch) | |
tree | 9f532515dd773ca78d11b2d49e3592ed4e7b1c6a /b4/command.py | |
parent | 9f55eb98f036616f6611c5d605072008d5855356 (diff) | |
download | b4-6bec820cb9d015e99e4f5bf375fba098ba5b2f30.tar.gz |
Allow passing entire mbox via stdin
Per request, allow passing entire mbox files via stdin, allowing fully
pipe-through operation from something like mutt:
b4 am -sl -m - -o -
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Link: https://lore.kernel.org/tools/YFETLu8TKWI2WlSF@hirez.programming.kicks-ass.net
Diffstat (limited to 'b4/command.py')
-rw-r--r-- | b4/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/command.py b/b4/command.py index 5a9d6eb..4c0a788 100644 --- a/b4/command.py +++ b/b4/command.py @@ -25,7 +25,7 @@ def cmd_mbox_common_opts(sp): sp.add_argument('-n', '--mbox-name', dest='wantname', default=None, help='Filename to name the mbox file') sp.add_argument('-m', '--use-local-mbox', dest='localmbox', default=None, - help='Instead of grabbing a thread from lore, process this mbox file') + help='Instead of grabbing a thread from lore, process this mbox file (or - for stdin)') sp.add_argument('-C', '--no-cache', dest='nocache', action='store_true', default=False, help='Do not use local cache') |