Commit Graph

12 Commits

Author SHA1 Message Date
Aaron Marcher 6a33d6c875
Fix man page .Os field 2017-08-13 23:25:44 +02:00
Laslo Hunhold c9d47405f4
Reduce -o | -n to -s
What we really want is to either output to WM_NAME or stdout. If we want
just one single line, we do slstatus | head -n 1.
2017-08-10 22:32:57 +02:00
Laslo Hunhold 4d33c36014
Remove d- and v-flags
d-flag: There's no need for that, use the &-operator or fork+exec in a
        non-shell-context. In the latter case you get the PID for free.
v-flag: If you want to find out which version of a package is installed,
        consult your package manager. That's his job.
2017-08-10 22:32:48 +02:00
Laslo Hunhold 958c34052a
Convert slstatus.1 to mandoc, simplify it and remove -h
We also change the semantics of -v to only return the version
information.
There is now no need for usage() to exit with anything other than 1.
2017-08-10 22:32:28 +02:00
Aaron Marcher 870d68d44e
added option to output only once and exit afterwards 2017-05-11 19:06:45 +02:00
Aaron Marcher 8fa6229759
why releases for such a small project? useless and overhead! 2016-12-29 23:36:05 +01:00
Ali H. Fardan f4a383382c several changes 2016-09-18 22:27:04 +03:00
Aaron Marcher fd36f65cc7 updated man page according to readme 2016-09-18 21:08:21 +02:00
Aaron Marcher fad39093cc added -v to manpage 2016-09-18 21:07:02 +02:00
Aaron Marcher 915eeb8b49 lol, dwm != slstatus in manpage :D 2016-09-18 21:06:28 +02:00
Aaron Marcher 14749b6c87 added -v command line option 2016-09-18 17:03:53 +02:00
Aaron Marcher 2fdb2ede04 added man page 2016-09-17 22:51:59 +02:00