Commit Graph

8 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
Hiltjo Posthuma
544779a7b8 doc: convert man pages to mandoc, fix some typos in the process 2015-02-06 15:16:23 +00:00
sin
59769ecf3b Fix manpage style 2014-04-13 16:40:56 +01:00
sin
e238e16c5c Capitalize the one-line description in manpages 2014-04-12 14:16:56 +01:00
sin
7d47c075cc Manpage overhaul 2014-04-12 13:39:07 +01:00
sin
8c2bbb8fb3 Rename manpages to match the proper section
Install manpages to the right place, ensure their permissions
is set correctly.
2013-10-17 14:00:21 +03:00
sin
c0c5620074 Simplify manpages 2013-10-17 11:41:04 +01:00
s-p-k
a966a8da7e Add clear(1), eject(1) and halt(8) man pages 2013-10-17 09:47:14 +01:00