From 606d596759e46cd5e1278c43c46cf64dae6074b9 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 7 Jul 2025 06:46:13 +0300 Subject: [PATCH] run-mailcap: conform with style guide (#17081) --- pages/linux/run-mailcap.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/pages/linux/run-mailcap.md b/pages/linux/run-mailcap.md index 6de5878475..63e2cc2bf1 100644 --- a/pages/linux/run-mailcap.md +++ b/pages/linux/run-mailcap.md @@ -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: . -- 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}}`