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:
parent
f06ecf7127
commit
cc8e83c4ec
2 changed files with 3 additions and 3 deletions
|
@ -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}}`
|
||||
|
|
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue