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

aplay, wol, unlzma: remove = and add short options (#17333)

This commit is contained in:
Managor 2025-07-23 19:09:45 +03:00 committed by GitHub
parent de3f41b230
commit 7e281252f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# unlzma
> This command is an alias of `xz --format=lzma --decompress`.
> This command is an alias of `xz --format lzma --decompress`.
- View documentation for the original command:

View file

@ -9,8 +9,8 @@
- Play the first 10 seconds of a specific file at 2500 Hz:
`aplay --duration={{10}} --rate={{2500}} {{path/to/file}}`
`aplay {{[-d|--duration]}} {{10}} {{[-r|--rate]}} {{2500}} {{path/to/file}}`
- Play the raw file as a 22050 Hz, mono, 8-bit, Mu-Law `.au` file:
`aplay --channels={{1}} --file-type {{raw}} --rate={{22050}} --format={{mu_law}} {{path/to/file}}`
`aplay {{[-c|--channels]}} {{1}} {{[-t|--file-type]}} {{raw}} {{[-r|--rate]}} {{22050}} {{[-f|--format]}} {{mu_law}} {{path/to/file}}`

View file

@ -9,19 +9,19 @@
- Send a WoL packet to a device in another subnet based on its IP:
`wol --ipaddr={{ip_address}} {{mac_address}}`
`wol {{[-i|--ipaddr]}} {{ip_address}} {{mac_address}}`
- Send a WoL packet to a device in another subnet based on its hostname:
`wol --host={{hostname}} {{mac_address}}`
`wol {{[-h|--host]}} {{hostname}} {{mac_address}}`
- Send a WoL packet to a specific port on a host:
`wol --port={{port_number}} {{mac_address}}`
`wol {{[-p|--port]}} {{port_number}} {{mac_address}}`
- Read hardware addresses, IP addresses/hostnames, optional ports and SecureON passwords from a file:
`wol --file={{path/to/file}}`
`wol {{[-f|--file]]} {{path/to/file}}`
- Turn on verbose output: