mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 02:35:25 +02:00
eject: add option placeholders and eject prevention (#15964)
This commit is contained in:
parent
69da4f67f5
commit
c549ea1b5a
1 changed files with 9 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
- Display the default device:
|
||||
|
||||
`eject -d`
|
||||
`eject {{[-d|--default]}}`
|
||||
|
||||
- Eject the default device:
|
||||
|
||||
|
@ -17,16 +17,20 @@
|
|||
|
||||
- Toggle whether a device's tray is open or closed:
|
||||
|
||||
`eject -T {{/dev/cdrom}}`
|
||||
`eject {{[-T|--traytoggle]}} {{/dev/cdrom}}`
|
||||
|
||||
- Eject a cd drive:
|
||||
|
||||
`eject -r {{/dev/cdrom}}`
|
||||
`eject {{[-r|--cdrom]}} {{/dev/cdrom}}`
|
||||
|
||||
- Eject a floppy drive:
|
||||
|
||||
`eject -f {{/mnt/floppy}}`
|
||||
`eject {{[-f|--floppy]}} {{/mnt/floppy}}`
|
||||
|
||||
- Eject a tape drive:
|
||||
|
||||
`eject -q {{/mnt/tape}}`
|
||||
`eject {{[-q|--tape]}} {{/mnt/tape}}`
|
||||
|
||||
- Set whether the physical eject button is [i]gnored (`on` prevents ejecting):
|
||||
|
||||
`eject {{[-i|--manualeject]}} {{on|off}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue