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

eject: add option placeholders and eject prevention (#15964)

This commit is contained in:
Managor 2025-03-23 11:22:42 +02:00 committed by GitHub
parent 69da4f67f5
commit c549ea1b5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@
- Display the default device: - Display the default device:
`eject -d` `eject {{[-d|--default]}}`
- Eject the default device: - Eject the default device:
@ -17,16 +17,20 @@
- Toggle whether a device's tray is open or closed: - Toggle whether a device's tray is open or closed:
`eject -T {{/dev/cdrom}}` `eject {{[-T|--traytoggle]}} {{/dev/cdrom}}`
- Eject a cd drive: - Eject a cd drive:
`eject -r {{/dev/cdrom}}` `eject {{[-r|--cdrom]}} {{/dev/cdrom}}`
- Eject a floppy drive: - Eject a floppy drive:
`eject -f {{/mnt/floppy}}` `eject {{[-f|--floppy]}} {{/mnt/floppy}}`
- Eject a tape drive: - 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}}`