mu extract/view/verify: allow reading message from stdin

Fixes #1463.
This commit is contained in:
Dirk-Jan C. Binnema
2023-04-29 22:58:55 +03:00
parent 3a05dd8725
commit 9544473e35
7 changed files with 135 additions and 57 deletions

View File

@ -7,7 +7,7 @@ mu view - display an e-mail message file
* SYNOPSIS
mu [common options] view [options] <file> [<files>]
mu [common options] view [options] [<file> ...]
* DESCRIPTION
@ -17,6 +17,9 @@ message files and does =not= require the message to be indexed in the database.
The command shows some common headers (From:, To:, Cc:, Bcc:, Subject: and
Date:), the list of attachments and the plain-text body of the message (if any).
If no message file is provided, the command expects the message on
standard-input.
* VIEW OPTIONS
** --summary-len=<number>