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