mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-13 01:59:11 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# add-apt-repository
|
||||
|
||||
> Manage `apt` repository definitions.
|
||||
> More information: <https://manned.org/apt-add-repository>.
|
||||
> More information: <https://manned.org/add-apt-repository>.
|
||||
|
||||
- Add a new `apt` repository:
|
||||
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Remove an `apt` repository:
|
||||
|
||||
`add-apt-repository --remove {{repository_spec}}`
|
||||
`add-apt-repository {{[-r|--remove]}} {{repository_spec}}`
|
||||
|
||||
- Update the package cache after adding a repository:
|
||||
|
||||
@@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Allow source packages to be downloaded from the repository:
|
||||
|
||||
`add-apt-repository --enable-source {{repository_spec}}`
|
||||
`add-apt-repository {{[-s|--enable-source]}} {{repository_spec}}`
|
||||
|
||||
Reference in New Issue
Block a user