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}}`