1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 15:15:51 +02:00

apt-{add-repository, file}: add option placeholders (#16445)

This commit is contained in:
Managor 2025-05-11 17:13:50 +03:00 committed by GitHub
parent f06ecf7127
commit cc8e83c4ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

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

View file

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