Commit Graph

6 Commits

Author SHA1 Message Date
FRIGN 90c7584089 Refactor eject(1)
Reword manpage to be more general (you do not only eject CD-ROM-drives,
but BluRay-drives, floppy drives, LaserDisk-readers, toaster, whatever).

Allow to specify multiple devices in the command line. Doesn't add
LOC (the few more lines added are due to stricter error-checking)
and might become handy for somebody in the future while not
breaking scripts that assume only one argument.

Crying like GNU coreutils when more than one device is given is
not suckless:

$ eject /dev/sr0 /dev/sr1
eject: too many arguments
2015-09-09 23:33:17 +01:00
sin 6f7f387352 Stop using EXIT_{SUCCESS,FAILURE} 2014-10-02 23:47:39 +01:00
sin 86060b535c Fix includes across all tools 2014-06-30 19:04:47 +01:00
s-p-k e340e1373e exit with EXIT_SUCCESS/EXIT_FAILURE 2013-10-07 19:15:00 +01:00
sin 1a090bf1eb Fix eject(1) so we can specify a device name 2013-09-04 13:34:20 +01:00
sin 2b767016b3 Add barebones eject(1) 2013-09-04 13:31:06 +01:00