diff --git a/pages/common/iverilog.md b/pages/common/iverilog.md index fa48967c14..13a5f68478 100644 --- a/pages/common/iverilog.md +++ b/pages/common/iverilog.md @@ -1,7 +1,7 @@ # iverilog > Preprocesses and compiles Verilog HDL (IEEE-1364) code into executable programs for simulation. -> More information: . +> More information: . - Compile a source file into an executable: diff --git a/pages/common/kcat.md b/pages/common/kcat.md index b90b1ddd22..30d3d302cb 100644 --- a/pages/common/kcat.md +++ b/pages/common/kcat.md @@ -1,7 +1,7 @@ # kcat > Apache Kafka producer and consumer tool. -> More information: . +> More information: . - Consume messages starting with the newest offset: diff --git a/pages/common/krunvm.md b/pages/common/krunvm.md index a77d79ec9a..6d9e15deec 100644 --- a/pages/common/krunvm.md +++ b/pages/common/krunvm.md @@ -1,7 +1,7 @@ # krunvm > Create MicroVMs from OCI images. -> More information: . +> More information: . - Create MicroVM based on Fedora: diff --git a/pages/common/lambo-new.md b/pages/common/lambo-new.md index bf19aeb4ab..d90a373276 100644 --- a/pages/common/lambo-new.md +++ b/pages/common/lambo-new.md @@ -1,7 +1,7 @@ # lambo new > A super-powered `laravel new` for Laravel and Valet. -> More information: . +> More information: . - Create a new Laravel application: @@ -9,7 +9,7 @@ - Install the application in a specific path: -`lambo new --path={{path/to/directory}} {{app_name}}` +`lambo new {{[-p|--path]}} {{path/to/directory}} {{app_name}}` - Include authentication scaffolding: @@ -25,7 +25,7 @@ - Create a Valet site after the project has been created: -`lambo new --link {{app_name}}` +`lambo new {{[-l|--link]}} {{app_name}}` - Create a new MySQL database with the same name as the project: @@ -33,4 +33,4 @@ - Open a specific editor after the project has been created: -`lambo new --editor="{{editor}}" {{app_name}}` +`lambo new {{[-e|--editor]}} "{{editor}}" {{app_name}}` diff --git a/pages/common/lazygit.md b/pages/common/lazygit.md index 19aa47ee2d..c31201853e 100644 --- a/pages/common/lazygit.md +++ b/pages/common/lazygit.md @@ -1,7 +1,7 @@ # lazygit > A simple terminal UI for Git commands, providing an intuitive interface for managing repositories. -> More information: . +> More information: . - Open Lazygit in the current repository: @@ -9,7 +9,7 @@ - Open Lazygit for a specific Git repository: -`lazygit --path {{path/to/repository}}` +`lazygit {{[-p|--path]}} {{path/to/repository}}` - Start Lazygit with focus on a specific panel: @@ -17,16 +17,16 @@ - Print the default Lazygit configuration: -`lazygit --config` +`lazygit {{[-c|--config]}}` - Tail the Lazygit logs (useful with debug mode in another terminal): -`lazygit --logs` +`lazygit {{[-l|--logs]}}` - Run Lazygit in debug mode: -`lazygit --debug` +`lazygit {{[-d|--debug]}}` - Print the configuration directory: -`lazygit --print-config-dir` +`lazygit {{[-cd|--print-config-dir]}}` diff --git a/pages/common/light-arionum-cli.md b/pages/common/light-arionum-cli.md index c35d445c5e..70ea884d0d 100644 --- a/pages/common/light-arionum-cli.md +++ b/pages/common/light-arionum-cli.md @@ -1,7 +1,7 @@ # light-arionum-cli > The PHP light wallet for the Arionum cryptocurrency. -> More information: . +> More information: . - Generate a new public/private key pair: diff --git a/pages/common/lighthouse.md b/pages/common/lighthouse.md index 71b4adad14..295c43db20 100644 --- a/pages/common/lighthouse.md +++ b/pages/common/lighthouse.md @@ -1,7 +1,7 @@ # lighthouse > Analyzes web applications and web pages, collecting modern performance metrics and insights on developer best practices. -> More information: . +> More information: . - Generate an HTML report for a specific website and save it to a file in the current directory: diff --git a/pages/common/liquidctl.md b/pages/common/liquidctl.md index 12b99d1ab1..607672b8e4 100644 --- a/pages/common/liquidctl.md +++ b/pages/common/liquidctl.md @@ -17,4 +17,4 @@ - Match a string in product name to pick a device and set its fan speed to 0% at 20°C, 50% at 50°C and 100% at 70°C: -`liquidctl --match {{string}} set fan speed {{20 0 50 50 70 100}}` +`liquidctl {{[-m|--match]}} {{string}} set fan speed {{20 0 50 50 70 100}}` diff --git a/pages/common/lspath.md b/pages/common/lspath.md index 71abeff160..721ebb4339 100644 --- a/pages/common/lspath.md +++ b/pages/common/lspath.md @@ -1,12 +1,12 @@ # lspath -> List the contents of the `PATH` environment variable, with optional paging. +> List the contents of the `$PATH` environment variable, with optional paging. > More information: . -- Print the contents of the system `PATH` variable, with one element per line: +- Print the contents of the system `$PATH` variable, with one element per line: `lspath` -- Print the current contents of the system `PATH` variable, with one element per line, with the output paged: +- Print the current contents of the system `$PATH` variable, with one element per line, with the output paged: `lspath --page` diff --git a/pages/common/lsyncd.md b/pages/common/lsyncd.md index 428e7fa520..2a30b5abc6 100644 --- a/pages/common/lsyncd.md +++ b/pages/common/lsyncd.md @@ -2,7 +2,7 @@ > Watch files and directories and run `rsync` when they change. > It is often used to keep two directories on separate systems in sync, ensuring that changes made in one directory are immediately mirrored to the other. -> More information: . +> More information: . - Watch the source for changes and run `rsync` to synchronize files to the destination on every change: diff --git a/pages/common/mkcert.md b/pages/common/mkcert.md index 437346093c..0084d4ac2a 100644 --- a/pages/common/mkcert.md +++ b/pages/common/mkcert.md @@ -1,7 +1,7 @@ # mkcert > Make locally-trusted development certificates. -> More information: . +> More information: . - Install the local CA in the system trust store: diff --git a/pages/common/ned.md b/pages/common/ned.md index 6cd046b9fd..be85da5223 100644 --- a/pages/common/ned.md +++ b/pages/common/ned.md @@ -2,11 +2,11 @@ > Like `grep` but with powerful replace capabilities. > Unlike `sed`, as it isn't restricted to line oriented editing. -> More information: . +> More information: . - Recursively search starting in the current directory, ignoring case: -`ned --ignore-case --recursive '{{^[dl]og}}' {{.}}` +`ned {{[-i|--ignore-case]}} {{[-R|--recursive]}} '{{^[dl]og}}' {{.}}` - Search always showing colored output: @@ -14,24 +14,24 @@ - Search never showing colored output: -`ned --colors=never '{{^[dl]og}}' {{.}}` +`ned --colors never '{{^[dl]og}}' {{.}}` - Search ignoring certain files: -`ned --recursive --exclude '{{*.htm}}' '{{^[dl]og}}' {{.}}` +`ned {{[-R|--recursive]}} --exclude '{{*.htm}}' '{{^[dl]og}}' {{.}}` - Simple replace: -`ned '{{dog}}' --replace '{{cat}}' {{.}}` +`ned '{{dog}}' {{[-r|--replace]}} '{{cat}}' {{.}}` - Replace using numbered group references: -`ned '{{the ([a-z]+) dog and the ([a-z]+) dog}}' --replace '{{the $2 dog and the $1 dog}}' {{.}}` +`ned '{{the ([a-z]+) dog and the ([a-z]+) dog}}' {{[-r|--replace]}} '{{the $2 dog and the $1 dog}}' {{.}}` - Replace changing case: -`ned '{{([a-z]+) dog}}' --case-replacements --replace '{{\U$1\E! dog}}' --stdout {{.}}` +`ned '{{([a-z]+) dog}}' --case-replacements {{[-r|--replace]}} '{{\U$1\E! dog}}' --stdout {{.}}` - Preview results of a find and replace without updating the target files: -`ned '{{^[sb]ad}}' --replace '{{happy}}' --stdout {{.}}` +`ned '{{^[sb]ad}}' {{[-r|--replace]}} '{{happy}}' --stdout {{.}}` diff --git a/pages/common/newman.md b/pages/common/newman.md index 5486252acf..a54c348066 100644 --- a/pages/common/newman.md +++ b/pages/common/newman.md @@ -1,7 +1,7 @@ # newman > Collection runner for Postman. -> More information: . +> More information: . - Run a collection (from a file): diff --git a/pages/common/nrm.md b/pages/common/nrm.md index 510d171167..a03d8ef39a 100644 --- a/pages/common/nrm.md +++ b/pages/common/nrm.md @@ -2,7 +2,7 @@ > npm registry manager. > Helps to easily switch between different npm registries. -> More information: . +> More information: . - List all registries: diff --git a/pages/common/nvm.md b/pages/common/nvm.md index dfd5b85046..1f8b5b44fc 100644 --- a/pages/common/nvm.md +++ b/pages/common/nvm.md @@ -3,7 +3,7 @@ > Install, uninstall or switch between Node.js versions. > Supports version numbers like "12.8" or "v16.13.1", and labels like "stable", "system", etc. > See also: `asdf`. -> More information: . +> More information: . - Install a specific version of Node.js: diff --git a/pages/common/oxipng.md b/pages/common/oxipng.md index 0b55ed0e00..cf47efafa6 100644 --- a/pages/common/oxipng.md +++ b/pages/common/oxipng.md @@ -1,7 +1,7 @@ # oxipng > Losslessly improve compression of PNG files. -> More information: . +> More information: . - Compress a PNG file (overwrites the file by default): @@ -17,19 +17,19 @@ - Compress a file with a set optimization level (default is 2): -`oxipng --opt {{0|1|2|3|4|5|6|max}} {{path/to/file.png}}` +`oxipng {{[-o|--opt]}} {{0|1|2|3|4|5|6|max}} {{path/to/file.png}}` - Set the PNG interlacing type (`0` removes interlacing, `1` applies Adam7 interlacing, `keep` preserves existing interlacing; default is `0`): -`oxipng --interlace {{0|1|keep}} {{path/to/file.png}}` +`oxipng {{[-i|--interlace]}} {{0|1|keep}} {{path/to/file.png}}` - Perform additional optimization on images with an alpha channel: -`oxipng --alpha {{path/to/file.png}}` +`oxipng {{[-a|--alpha]}} {{path/to/file.png}}` - Use the much slower but stronger Zopfli compressor with max optimization: -`oxipng --zopfli --opt max {{path/to/file.png}}` +`oxipng {{[-Z|--zopfli]}} {{[-o|--opt]}} max {{path/to/file.png}}` - Strip all non-critical metadata chunks: diff --git a/pages/common/paci.md b/pages/common/paci.md index 58a461fdcc..b91b0ac0f9 100644 --- a/pages/common/paci.md +++ b/pages/common/paci.md @@ -1,7 +1,7 @@ # paci > A package manager for Bash scripts. -> More information: . +> More information: . - Update the list of available packages and versions (it's recommended to run this before other `paci` commands): diff --git a/pages/common/peco.md b/pages/common/peco.md index d5dba23d2b..697315c4f5 100644 --- a/pages/common/peco.md +++ b/pages/common/peco.md @@ -1,7 +1,7 @@ # peco > Interactive filtering tool. -> More information: . +> More information: . - Start `peco` on all files in the specified directory: diff --git a/pages/common/picom-trans.md b/pages/common/picom-trans.md index 3bcc03a9ac..b6091a8805 100644 --- a/pages/common/picom-trans.md +++ b/pages/common/picom-trans.md @@ -1,20 +1,20 @@ # picom-trans > Set the window opacity for the `picom` window compositor. -> More information: . +> More information: . - Set the currently focused window opacity to a specific percentage: -`picom-trans --current --opacity {{90}}` +`picom-trans {{[-c|--current]}} {{[-o|--opacity]}} {{percentage}}` - Set the opacity of a window with a specific name: -`picom-trans --name {{Firefox}} --opacity {{90}}` +`picom-trans {{[-n|--name]}} {{Firefox}} {{[-o|--opacity]}} {{percentage}}` - Set the opacity of a specific window selected via mouse cursor: -`picom-trans --select --opacity {{90}}` +`picom-trans {{[-s|--select]}} {{[-o|--opacity]}} {{percentage}}` - Toggle the opacity of a specific window: -`picom-trans --name {{Firefox}} --toggle` +`picom-trans {{[-n|--name]}} {{Firefox}} {{[-t|--toggle]}}` diff --git a/pages/common/picom.md b/pages/common/picom.md index 983c4c3260..ee5494786a 100644 --- a/pages/common/picom.md +++ b/pages/common/picom.md @@ -1,7 +1,7 @@ # picom > Standalone compositor for Xorg. -> More information: . +> More information: . - Enable `picom` during a session: diff --git a/pages/common/pipx.md b/pages/common/pipx.md index ba8fc172cd..e81a125219 100644 --- a/pages/common/pipx.md +++ b/pages/common/pipx.md @@ -1,7 +1,7 @@ # pipx > Install and run Python applications in isolated environments. -> More information: . +> More information: . - Run an app in a temporary virtual environment: diff --git a/pages/common/pixterm.md b/pages/common/pixterm.md index ec12084190..3b8dba3f39 100644 --- a/pages/common/pixterm.md +++ b/pages/common/pixterm.md @@ -2,7 +2,7 @@ > Image printing in the terminal. > See also: `chafa`, `catimg`. -> More information: . +> More information: . - Render a static image directly in the terminal: diff --git a/pages/common/plenv.md b/pages/common/plenv.md index 863e3e105c..5d547e95a4 100644 --- a/pages/common/plenv.md +++ b/pages/common/plenv.md @@ -1,7 +1,7 @@ # plenv > Switch between multiple versions of Perl. -> More information: . +> More information: . - Show the currently selected Perl version and how it was selected: diff --git a/pages/common/protector.md b/pages/common/protector.md index f5ecfddaf4..729f76abc1 100644 --- a/pages/common/protector.md +++ b/pages/common/protector.md @@ -1,7 +1,7 @@ # protector > Protect or unprotect branches on GitHub repositories. -> More information: . +> More information: . - Protect branches of a GitHub repository (create branch protection rules): diff --git a/pages/common/pueue-edit.md b/pages/common/pueue-edit.md index dfcc469d6a..20c4275c16 100644 --- a/pages/common/pueue-edit.md +++ b/pages/common/pueue-edit.md @@ -1,7 +1,7 @@ # pueue edit > Edit the command or path of a stashed or queued task. -> More information: . +> More information: . - Edit a task, see `pueue status` to get the task ID: diff --git a/pages/common/pueue-follow.md b/pages/common/pueue-follow.md index 4d1288b2bc..687b41424e 100644 --- a/pages/common/pueue-follow.md +++ b/pages/common/pueue-follow.md @@ -2,7 +2,7 @@ > Follow the output of a currently running task. > See also: `pueue log`. -> More information: . +> More information: . - Follow the output of a task (`stdout` + `stderr`): diff --git a/pages/common/pueue-help.md b/pages/common/pueue-help.md index b1f51acf6d..da70d59650 100644 --- a/pages/common/pueue-help.md +++ b/pages/common/pueue-help.md @@ -1,7 +1,7 @@ # pueue help > Display help for subcommands. -> More information: . +> More information: . - Show all available subcommands and flags: diff --git a/pages/common/pueue-send.md b/pages/common/pueue-send.md index 3cce39a5a6..cff7bc2734 100644 --- a/pages/common/pueue-send.md +++ b/pages/common/pueue-send.md @@ -1,7 +1,7 @@ # pueue send > Send input to a task. -> More information: . +> More information: . - Send input to a running command: diff --git a/pages/common/pueue-shutdown.md b/pages/common/pueue-shutdown.md index eff3ac8a36..07c11b9ca8 100644 --- a/pages/common/pueue-shutdown.md +++ b/pages/common/pueue-shutdown.md @@ -2,7 +2,7 @@ > Remotely shut down the daemon. > Only use this subcommand if the daemon isn't started by a service manager. -> More information: . +> More information: . - Shutdown the daemon without a service manager: diff --git a/pages/common/pueue-switch.md b/pages/common/pueue-switch.md index fd67aa655f..8d87a89171 100644 --- a/pages/common/pueue-switch.md +++ b/pages/common/pueue-switch.md @@ -1,7 +1,7 @@ # pueue switch > Switches the queue position of two enqueued or stashed commands. -> More information: . +> More information: . - Switch the priority of two tasks: diff --git a/pages/common/pyenv.md b/pages/common/pyenv.md index 6f64b43ba2..991492f6fc 100644 --- a/pages/common/pyenv.md +++ b/pages/common/pyenv.md @@ -2,7 +2,7 @@ > Switch between multiple versions of Python easily. > See also: `asdf`. -> More information: . +> More information: . - List all available commands: diff --git a/pages/common/qpdf.md b/pages/common/qpdf.md index d4bf6c26d1..1211cfb31e 100644 --- a/pages/common/qpdf.md +++ b/pages/common/qpdf.md @@ -1,7 +1,7 @@ # qpdf > Versatile PDF transformation software. -> More information: . +> More information: . - Extract pages 1-3, 5 and 6-10 from a PDF file and save them as another one: diff --git a/pages/common/rbenv.md b/pages/common/rbenv.md index 67e814ff32..229aa9addc 100644 --- a/pages/common/rbenv.md +++ b/pages/common/rbenv.md @@ -2,7 +2,7 @@ > Easily install Ruby versions and manage application environments. > See also: `asdf`. -> More information: . +> More information: . - Install a Ruby version: diff --git a/pages/common/reflex.md b/pages/common/reflex.md index 3cc64f1af1..f821781657 100644 --- a/pages/common/reflex.md +++ b/pages/common/reflex.md @@ -1,7 +1,7 @@ # reflex > Watch a directory and rerun a command when certain files change. -> More information: . +> More information: . - Rebuild with `make` if any file changes: @@ -9,15 +9,15 @@ - Compile and run Go application if any `.go` file changes: -`reflex --regex='{{\.go$}}' {{go run .}}` +`reflex {{[-r|--regex]}} '{{\.go$}}' {{go run .}}` - Ignore a directory when watching for changes: -`reflex --inverse-regex='{{^dir/}}' {{command}}` +`reflex {{[-G|--inverse-regex]}} '{{^dir/}}' {{command}}` - Run command when reflex starts and restarts on file changes: -`reflex --start-service=true {{command}}` +`reflex {{[-s|--start-service]}} true {{command}}` - Substitute the filename that changed in: diff --git a/pages/common/retry.md b/pages/common/retry.md index c5538f44a8..4accea9004 100644 --- a/pages/common/retry.md +++ b/pages/common/retry.md @@ -1,7 +1,7 @@ # retry > Repeat command until it succeeds or a criterion is met. -> More information: . +> More information: . - Retry a command until it succeeds: @@ -9,8 +9,8 @@ - Retry a command every n seconds until it succeeds: -`retry --delay={{n}} {{command}}` +`retry {{[-d|--delay]}} {{n}} {{command}}` - Give up after n attempts: -`retry --times={{n}} {{command}}` +`retry {{[-t|--times]}} {{n}} {{command}}` diff --git a/pages/linux/eselect-locale.md b/pages/linux/eselect-locale.md index 3269c010f1..9ce7881996 100644 --- a/pages/linux/eselect-locale.md +++ b/pages/linux/eselect-locale.md @@ -7,10 +7,10 @@ `eselect locale list` -- Set the `LANG` environment variable in `/etc/profile.env` by name or index from the `list` command: +- Set the `$LANG` environment variable in `/etc/profile.env` by name or index from the `list` command: `eselect locale set {{name|index}}` -- Display the value of `LANG` in `/etc/profile.env`: +- Display the value of `$LANG` in `/etc/profile.env`: `eselect locale show` diff --git a/pages/linux/export.md b/pages/linux/export.md index 91d59b8acb..d613d06b1d 100644 --- a/pages/linux/export.md +++ b/pages/linux/export.md @@ -15,7 +15,7 @@ `export -f {{FUNCTION_NAME}}` -- Append a pathname to the environment variable `PATH`: +- Append a pathname to the environment variable `$PATH`: `export PATH=$PATH:{{path/to/append}}`