mu-view: add --format=html
Support showing the HTML body (if any) instead of the default plain-text body. Update manpage.
This commit is contained in:
@ -497,10 +497,13 @@ static void
|
||||
sub_view(CLI::App& sub, Options& opts)
|
||||
{
|
||||
using Format = Options::View::Format;
|
||||
static constexpr InfoEnum<Format, 2> FormatInfos = {{
|
||||
static constexpr InfoEnum<Format, 3> FormatInfos = {{
|
||||
{ Format::Plain,
|
||||
{"plain", "Plain output"}
|
||||
},
|
||||
{ Format::Html,
|
||||
{"html", "Plain output with HTML body"}
|
||||
},
|
||||
{ Format::Sexp,
|
||||
{"sexp", "S-expressions"}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user