From f003afc89f3170da54b35bf096fc0a7b15437cf1 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 28 Jun 2025 12:47:25 +0300 Subject: [PATCH] linux/e*: add option placeholders and mnemonics (#16997) --- pages/linux/e2freefrag.md | 2 +- pages/linux/e2fsck.md | 2 +- pages/linux/e2image.md | 2 +- pages/linux/e2undo.md | 2 +- pages/linux/eclean.md | 4 ++-- pages/linux/euse.md | 10 +++++----- pages/linux/exiqgrep.md | 4 ++-- pages/linux/expect.md | 2 +- pages/linux/export.md | 2 +- pages/linux/extrace.md | 4 ++-- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/pages/linux/e2freefrag.md b/pages/linux/e2freefrag.md index 1a63982be5..9d0c38ec4d 100644 --- a/pages/linux/e2freefrag.md +++ b/pages/linux/e2freefrag.md @@ -7,6 +7,6 @@ `e2freefrag {{/dev/sdXN}}` -- Specify chunk size in kilobytes to print how many free chunks are available: +- Specify [c]hunk size in kilobytes to print how many free chunks are available: `e2freefrag -c {{chunk_size_in_kb}} {{/dev/sdXN}}` diff --git a/pages/linux/e2fsck.md b/pages/linux/e2fsck.md index be05b19c25..64e8dd15a7 100644 --- a/pages/linux/e2fsck.md +++ b/pages/linux/e2fsck.md @@ -7,7 +7,7 @@ `sudo e2fsck {{/dev/sdXN}}` -- Check filesystem and automatically repair any damaged blocks: +- Check filesystem and automatically repair ([p]reen) any damaged blocks: `sudo e2fsck -p {{/dev/sdXN}}` diff --git a/pages/linux/e2image.md b/pages/linux/e2image.md index c4d68a3b69..dcb46344e0 100644 --- a/pages/linux/e2image.md +++ b/pages/linux/e2image.md @@ -19,6 +19,6 @@ `e2image -r {{/dev/sdXN}} {{path/to/image_file}}` -- Create a QCOW2 image file instead of a normal or raw image file: +- Create a [Q]COW2 image file instead of a normal or raw image file: `e2image -Q {{/dev/sdXN}} {{path/to/image_file}}` diff --git a/pages/linux/e2undo.md b/pages/linux/e2undo.md index 84191f53a3..3ab453b314 100644 --- a/pages/linux/e2undo.md +++ b/pages/linux/e2undo.md @@ -16,7 +16,7 @@ `e2undo {{path/to/undo_file}} {{/dev/sdXN}}` -- Perform an undo operation and display verbose information: +- Perform an undo operation and display [v]erbose information: `e2undo -v {{path/to/undo_file}} {{/dev/sdXN}}` diff --git a/pages/linux/eclean.md b/pages/linux/eclean.md index e773706b64..fa847f8eca 100644 --- a/pages/linux/eclean.md +++ b/pages/linux/eclean.md @@ -13,8 +13,8 @@ - Clean the distfiles of all uninstalled packages, but keep the distfiles of installed packages: -`sudo eclean --deep --package-names distfiles` +`sudo eclean {{[-d|--deep]}} {{[-n|--package-names]}} distfiles` - Clean the binary packages of all uninstalled packages, but keep the binaries of installed packages: -`sudo eclean --deep --package-names packages` +`sudo eclean {{[-d|--deep]}} {{[-n|--package-names]}} packages` diff --git a/pages/linux/euse.md b/pages/linux/euse.md index 94c34b2185..a81c06a204 100644 --- a/pages/linux/euse.md +++ b/pages/linux/euse.md @@ -5,20 +5,20 @@ - List active global USE flags: -`euse --active --global` +`euse {{[-a|--active]}} {{[-g|--global]}}` - List active local USE flags: -`euse --active --local` +`euse {{[-a|--active]}} {{[-l|--local]}}` - Enable a global USE flag: -`sudo euse --enable {{use_flag}}` +`sudo euse {{[-E|--enable]}} {{use_flag}}` - Disable a global USE flag (put a '-' sign in front of the USE flag): -`sudo euse --disable {{use_flag}}` +`sudo euse {{[-D|--disable]}} {{use_flag}}` - Remove a global USE flag: -`sudo euse --prune {{use_flag}}` +`sudo euse {{[-P|--prune]}} {{use_flag}}` diff --git a/pages/linux/exiqgrep.md b/pages/linux/exiqgrep.md index c0dc29c9ae..6e4fb9ecd2 100644 --- a/pages/linux/exiqgrep.md +++ b/pages/linux/exiqgrep.md @@ -11,7 +11,7 @@ `exiqgrep -i -f '<{{email@example.com}}>'` -- Match the recipient address: +- Match the [r]ecipient address: `exiqgrep -r '{{email@example.com}}'` @@ -23,6 +23,6 @@ `exiqgrep -f '^<>$'` -- Display the count of bounced messages: +- Display the [c]ount of bounced messages: `exiqgrep -c -f '^<>$'` diff --git a/pages/linux/expect.md b/pages/linux/expect.md index 71595f661d..e78bcaa6d2 100644 --- a/pages/linux/expect.md +++ b/pages/linux/expect.md @@ -11,6 +11,6 @@ `expect -c "{{commands}}"` -- Enter an interactive REPL (use `exit` or `` to exit): +- Enter an [i]nteractive REPL (use `exit` or `` to exit): `expect -i` diff --git a/pages/linux/export.md b/pages/linux/export.md index ffc36387c4..a6c0aca69f 100644 --- a/pages/linux/export.md +++ b/pages/linux/export.md @@ -11,7 +11,7 @@ `export -n {{VARIABLE}}` -- Export a function to child processes: +- Export a [f]unction to child processes: `export -f {{FUNCTION_NAME}}` diff --git a/pages/linux/extrace.md b/pages/linux/extrace.md index 601bacfe22..8e18024b7a 100644 --- a/pages/linux/extrace.md +++ b/pages/linux/extrace.md @@ -11,7 +11,7 @@ `sudo extrace {{command}}` -- Print the current working directory of each process: +- Print the current working [d]irectory of each process: `sudo extrace -d` @@ -19,6 +19,6 @@ `sudo extrace -l` -- Display the user running each process: +- Display the [u]ser running each process: `sudo extrace -u`