From 44de6b14a825312d8f00856cad131df7e758baf7 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Wed, 21 May 2025 10:19:35 +0300 Subject: [PATCH] xbps*: add option placeholders (#16548) --- pages/linux/xbps-install.md | 2 +- pages/linux/xbps-query.md | 10 +++++----- pages/linux/xbps-remove.md | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/linux/xbps-install.md b/pages/linux/xbps-install.md index b2bfade071..056848f1ef 100644 --- a/pages/linux/xbps-install.md +++ b/pages/linux/xbps-install.md @@ -10,4 +10,4 @@ - Synchronize and update all packages: -`xbps-install --sync --update` +`xbps-install {{[-S|--sync]}} {{[-u|--update]}}` diff --git a/pages/linux/xbps-query.md b/pages/linux/xbps-query.md index 06573aa63e..c9b7b312f5 100644 --- a/pages/linux/xbps-query.md +++ b/pages/linux/xbps-query.md @@ -6,20 +6,20 @@ - Search for a package in remote repositories using a regular expression or a keyword (if `--regex` is omitted): -`xbps-query --search {{regular_expression|keyword}} --repository --regex` +`xbps-query {{[-s|--search]}} {{regular_expression|keyword}} --repository --regex` - Show information about an installed package: -`xbps-query --show {{package}}` +`xbps-query {{[-S|--show]}} {{package}}` - Show information about a package in remote repositories: -`xbps-query --show {{package}} --repository` +`xbps-query {{[-S|--show]}} {{package}} --repository` - List packages registered in the package database: -`xbps-query --list-pkgs` +`xbps-query {{[-l|--list-pkgs]}}` - List explicitly installed packages (i.e. not automatically installed as dependencies): -`xbps-query --list-manual-pkgs` +`xbps-query {{[-m|--list-manual-pkgs]}}` diff --git a/pages/linux/xbps-remove.md b/pages/linux/xbps-remove.md index 84126931bf..20cf65726f 100644 --- a/pages/linux/xbps-remove.md +++ b/pages/linux/xbps-remove.md @@ -10,12 +10,12 @@ - Remove a package and its dependencies: -`xbps-remove --recursive {{package}}` +`xbps-remove {{[-R|--recursive]}} {{package}}` - Remove orphan packages (installed as dependencies but no longer required by any package): -`xbps-remove --remove-orphans` +`xbps-remove {{[-o|--remove-orphans]}}` - Remove obsolete packages from the cache: -`xbps-remove --clean-cache` +`xbps-remove {{[-O|--clean-cache]}}`