1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-11 11:15:24 +02:00

run-mailcap: conform with style guide (#17081)

This commit is contained in:
Managor 2025-07-07 06:46:13 +03:00 committed by GitHub
parent 05e1959fbe
commit 606d596759
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}}`