1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 21:35:40 +02:00

linux/a*: add option placeholders (#16945)

This commit is contained in:
Managor 2025-06-28 14:04:09 +03:00 committed by GitHub
parent 0cb4658d4b
commit cd59f61693
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 24 additions and 37 deletions

View file

@ -9,4 +9,4 @@
- Don't show informative messages:
`sudo a2disconf --quiet {{configuration_file}}`
`sudo a2disconf {{[-q|--quiet]}} {{configuration_file}}`

View file

@ -9,4 +9,4 @@
- Don't show informative messages:
`sudo a2dismod --quiet {{module}}`
`sudo a2dismod {{[-q|--quiet]}} {{module}}`

View file

@ -9,4 +9,4 @@
- Don't show informative messages:
`sudo a2dissite --quiet {{virtual_host}}`
`sudo a2dissite {{[-q|--quiet]}} {{virtual_host}}`

View file

@ -9,4 +9,4 @@
- Don't show informative messages:
`sudo a2enconf --quiet {{configuration_file}}`
`sudo a2enconf {{[-q|--quiet]}} {{configuration_file}}`

View file

@ -9,4 +9,4 @@
- Don't show informative messages:
`sudo a2enmod --quiet {{module}}`
`sudo a2enmod {{[-q|--quiet]}} {{module}}`

View file

@ -9,4 +9,4 @@
- Don't show informative messages:
`sudo a2ensite --quiet {{virtual_host}}`
`sudo a2ensite {{[-q|--quiet]}} {{virtual_host}}`

View file

@ -10,4 +10,4 @@
- Set policies to complain mode:
`sudo aa-complain --dir {{path/to/profiles}}`
`sudo aa-complain {{[-d|--dir]}} {{path/to/profiles}}`

View file

@ -6,7 +6,7 @@
- Enable profile:
`sudo aa-enforce --dir {{path/to/profile}}`
`sudo aa-enforce {{[-d|--dir]}} {{path/to/profile}}`
- Enable profiles:

View file

@ -34,4 +34,4 @@
- Display help:
`abroot --help`
`abroot {{[-h|--help]}}`

View file

@ -1,7 +1,7 @@
# 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:
@ -9,7 +9,7 @@
- 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:
@ -17,4 +17,4 @@
- Allow source packages to be downloaded from the repository:
`add-apt-repository --enable-source {{repository_spec}}`
`add-apt-repository {{[-s|--enable-source]}} {{repository_spec}}`

View file

@ -6,16 +6,16 @@
- Convert a specific installation file to Debian format (`.deb` extension):
`sudo alien --to-deb {{path/to/file}}`
`sudo alien {{[-d|--to-deb]}} {{path/to/file}}`
- Convert a specific installation file to Red Hat format (`.rpm` extension):
`sudo alien --to-rpm {{path/to/file}}`
`sudo alien {{[-r|--to-rpm]}} {{path/to/file}}`
- Convert a specific installation file to a Slackware installation file (`.tgz` extension):
`sudo alien --to-tgz {{path/to/file}}`
`sudo alien {{[-t|--to-tgz]}} {{path/to/file}}`
- Convert a specific installation file to Debian format and install on the system:
`sudo alien --to-deb --install {{path/to/file}}`
`sudo alien {{[-d|--to-deb]}} {{[-i|--install]}} {{path/to/file}}`

View file

@ -14,4 +14,4 @@
- Quit alpine:
`q + y`
`<q><y>`

View file

@ -1,20 +1,7 @@
# apt-add-repository
> Manage `apt` repository definitions.
> More information: <https://manned.org/apt-add-repository.1>.
> This command is an alias of `add-apt-repository`.
- Add a new `apt` repository:
- View documentation for the original command:
`apt-add-repository {{repository_spec}}`
- Remove an `apt` repository:
`apt-add-repository {{[-r|--remove]}} {{repository_spec}}`
- Update the package cache after adding a repository:
`apt-add-repository --update {{repository_spec}}`
- Enable source packages:
`apt-add-repository {{[-s|--enable-source]}} {{repository_spec}}`
`tldr add-apt-repository`

View file

@ -5,12 +5,12 @@
- Extract a specific archive into the current directory:
`ark --batch {{path/to/archive}}`
`ark {{[-b|--batch]}} {{path/to/archive}}`
- Extract an archive into a specific directory:
`ark --batch --destination {{path/to/directory}} {{path/to/archive}}`
`ark {{[-b|--batch]}} {{[-o|--destination]}} {{path/to/directory}} {{path/to/archive}}`
- Create an archive if it does not exist and add specific files to it:
`ark --add-to {{path/to/archive}} {{path/to/file1 path/to/file2 ...}}`
`ark {{[-t|--add-to]}} {{path/to/archive}} {{path/to/file1 path/to/file2 ...}}`

View file

@ -1,6 +1,6 @@
# auracle
> Command-line tool used to interact with Arch Linux's User Repository, commonly referred to as the AUR.
> Interact with Arch Linux's User Repository, commonly referred to as the AUR.
> More information: <https://github.com/falconindy/auracle>.
- Display AUR packages that match a regular expression: