From 77e10496dee41c72b488fd904ac01915d2a24bd1 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 29 Jun 2025 11:32:13 +0300 Subject: [PATCH] linux/d*: add option placeholders, mnemonics and refresh more info links (#16996) Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/linux/daemon.md | 8 ++++---- pages/linux/dbus-daemon.md | 2 +- pages/linux/debchange.md | 6 +++--- pages/linux/debman.md | 6 +++--- pages/linux/deborphan.md | 2 +- pages/linux/debtap.md | 6 +++--- pages/linux/dnf-config-manager.md | 4 ++-- pages/linux/do-release-upgrade.md | 4 ++-- pages/linux/dolphin.md | 2 +- pages/linux/dracut.md | 4 ++-- 10 files changed, 22 insertions(+), 22 deletions(-) diff --git a/pages/linux/daemon.md b/pages/linux/daemon.md index 691a6aa9c2..be53c5dda5 100644 --- a/pages/linux/daemon.md +++ b/pages/linux/daemon.md @@ -1,7 +1,7 @@ # daemon -> Run processes into daemons. -> More information: . +> Turns other processes into daemons. +> More information: . - Run a command as a daemon: @@ -9,11 +9,11 @@ - Run a command as a daemon which will restart if the command crashes: -`daemon --name="{{name}}" --respawn {{command}}` +`daemon --name="{{name}}" {{[-r|--respawn]}} {{command}}` - Run a command as a daemon which will restart if it crashes, with two attempts every 10 seconds: -`daemon --name="{{name}}" --respawn --attempts=2 --delay=10 {{command}}` +`daemon --name="{{name}}" {{[-r|--respawn]}} --attempts=2 --delay=10 {{command}}` - Run a command as a daemon, writing logs to a specific file: diff --git a/pages/linux/dbus-daemon.md b/pages/linux/dbus-daemon.md index e2d2797533..9ab65e1960 100644 --- a/pages/linux/dbus-daemon.md +++ b/pages/linux/dbus-daemon.md @@ -1,7 +1,7 @@ # dbus-daemon > The D-Bus message daemon, allowing multiple programs to exchange messages. -> More information: . +> More information: . - Run the daemon with a configuration file: diff --git a/pages/linux/debchange.md b/pages/linux/debchange.md index 62de8d6be9..9a04d61032 100644 --- a/pages/linux/debchange.md +++ b/pages/linux/debchange.md @@ -1,15 +1,15 @@ # debchange -> Mantain the debian/changelog file of a Debian source package. +> Maintain the debian/changelog file of a Debian source package. > More information: . - Add a new version for a non-maintainer upload to the changelog: -`debchange --nmu` +`debchange {{[-n|--nmu]}}` - Add a changelog entry to the current version: -`debchange --append` +`debchange {{[-a|--append]}}` - Add a changelog entry to close the bug with specified ID: diff --git a/pages/linux/debman.md b/pages/linux/debman.md index 76b54dbcca..44748a3606 100644 --- a/pages/linux/debman.md +++ b/pages/linux/debman.md @@ -3,14 +3,14 @@ > Read man pages from uninstalled packages. > More information: . -- Read a man page for a command that is provided by a specified package: +- Read a man page for a command that is provided by a specified [p]ackage: `debman -p {{package}} {{command}}` -- Specify a package version to download: +- Specify a [p]ackage version to download: `debman -p {{package}}={{version}} {{command}}` -- Read a man page in a `.deb` file: +- Read a man page in a `.deb` [f]ile: `debman -f {{path/to/filename.deb}} {{command}}` diff --git a/pages/linux/deborphan.md b/pages/linux/deborphan.md index 44ef39d489..55188b89f4 100644 --- a/pages/linux/deborphan.md +++ b/pages/linux/deborphan.md @@ -13,4 +13,4 @@ - Find packages which are only recommended or suggested (but not required) by another package: -`deborphan --nice-mode` +`deborphan {{[-n|--nice-mode]}}` diff --git a/pages/linux/debtap.md b/pages/linux/debtap.md index c880cd01ef..f00e81aafa 100644 --- a/pages/linux/debtap.md +++ b/pages/linux/debtap.md @@ -6,7 +6,7 @@ - Update debtap database (before the first run): -`sudo debtap --update` +`sudo debtap {{[-u|--update]}}` - Convert the specified package: @@ -14,8 +14,8 @@ - Convert the specified package bypassing all questions, except for editing metadata files: -`debtap --quiet {{path/to/package.deb}}` +`debtap {{[-q|--quiet]}} {{path/to/package.deb}}` - Generate a PKGBUILD file: -`debtap --pkgbuild {{path/to/package.deb}}` +`debtap {{[-p|--pkgbuild]}} {{path/to/package.deb}}` diff --git a/pages/linux/dnf-config-manager.md b/pages/linux/dnf-config-manager.md index d2a910fcca..f6015e5dd5 100644 --- a/pages/linux/dnf-config-manager.md +++ b/pages/linux/dnf-config-manager.md @@ -13,11 +13,11 @@ - Enable a specific repository: -`dnf config-manager --set-enabled {{repository_id}}` +`dnf config-manager {{[--enable|--set-enabled]}} {{repository_id}}` - Disable specified repositories: -`dnf config-manager --set-disabled {{repository_id1 repository_id2 ...}}` +`dnf config-manager {{[--disable|--set-disabled]}} {{repository_id1 repository_id2 ...}}` - Set a configuration option for a repository: diff --git a/pages/linux/do-release-upgrade.md b/pages/linux/do-release-upgrade.md index 586c3f74db..7a5ea1a9a2 100644 --- a/pages/linux/do-release-upgrade.md +++ b/pages/linux/do-release-upgrade.md @@ -9,8 +9,8 @@ - Upgrade to the latest development release: -`sudo do-release-upgrade --devel-release` +`sudo do-release-upgrade {{[-d|--devel-release]}}` - Upgrade to the latest proposed release: -`sudo do-release-upgrade --proposed` +`sudo do-release-upgrade {{[-p|--proposed]}}` diff --git a/pages/linux/dolphin.md b/pages/linux/dolphin.md index cdbc47e1ed..cec4444e50 100644 --- a/pages/linux/dolphin.md +++ b/pages/linux/dolphin.md @@ -30,4 +30,4 @@ - Display help: -`dolphin --help` +`dolphin {{[-h|--help]}}` diff --git a/pages/linux/dracut.md b/pages/linux/dracut.md index e86a756e12..5162688434 100644 --- a/pages/linux/dracut.md +++ b/pages/linux/dracut.md @@ -2,7 +2,7 @@ > Generate initramfs images to boot the Linux kernel. > Dracut uses options from configuration files in `/etc/dracut.conf`, `/etc/dracut.conf.d/*.conf` and `/usr/lib/dracut/dracut.conf.d/*.conf` by default. -> More information: . +> More information: . - Generate an initramfs image for the current kernel without overriding any options: @@ -10,7 +10,7 @@ - Generate an initramfs image for the current kernel and overwrite the existing one: -`dracut --force` +`dracut {{[-f|--force]}}` - Generate an initramfs image for a specific kernel: