Skip to content

run-mailcap: conform with style guide #17081

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions pages/linux/run-mailcap.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,18 @@
> Run mailcap view, see, edit, compose, print - execute programs via entries in the mailcap file (or any of its aliases) will use the given action to process each mime-type/file.
> More information: <https://manned.org/run-mailcap>.

- Individual actions/programs on run-mailcap can be invoked with action flag:
- Invoke individual actions/programs on run-mailcap:

`run-mailcap --action=ACTION [--option[=value]]`

- In simple language:

`run-mailcap --action=ACTION {{filename}}`
`run-mailcap --action={{view|cat|compose|composetyped|edit|print}} {{path/to/file}}`

- Turn on extra information:

`run-mailcap --action=ACTION --debug {{filename}}`
`run-mailcap --action={{action}} --debug {{path/to/file}}`

- Ignore any "copiousoutput" directive and forward output to `stdout`:

`run-mailcap --action=ACTION --nopager {{filename}}`
`run-mailcap --action={{action}} --nopager {{path/to/file}}`

- Display the found command without actually executing it:

`run-mailcap --action=ACTION --norun {{filename}}`
`run-mailcap --action={{action}} --norun {{path/to/file}}`