From cc8e83c4ec45f7f54243eace0995c5b3a6198ad5 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 11 May 2025 17:13:50 +0300 Subject: [PATCH] apt-{add-repository, file}: add option placeholders (#16445) --- pages/linux/apt-add-repository.md | 4 ++-- pages/linux/apt-file.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/linux/apt-add-repository.md b/pages/linux/apt-add-repository.md index c2c575c506..4f2b684c81 100644 --- a/pages/linux/apt-add-repository.md +++ b/pages/linux/apt-add-repository.md @@ -9,7 +9,7 @@ - Remove an `apt` repository: -`apt-add-repository --remove {{repository_spec}}` +`apt-add-repository {{[-r|--remove]}} {{repository_spec}}` - Update the package cache after adding a repository: @@ -17,4 +17,4 @@ - Enable source packages: -`apt-add-repository --enable-source {{repository_spec}}` +`apt-add-repository {{[-s|--enable-source]}} {{repository_spec}}` diff --git a/pages/linux/apt-file.md b/pages/linux/apt-file.md index 1a32a80835..70150b9e35 100644 --- a/pages/linux/apt-file.md +++ b/pages/linux/apt-file.md @@ -17,4 +17,4 @@ - Search for packages that match the `regular_expression`: -`apt-file {{search|find}} --regexp {{regular_expression}}` +`apt-file {{search|find}} {{[-x|--regexp]}} {{regular_expression}}`