]> git.ipfire.org Git - thirdparty/util-linux.git/commit
setterm: cleanup usage() and man page
authorKarel Zak <kzak@redhat.com>
Tue, 10 Sep 2019 10:14:25 +0000 (12:14 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Sep 2019 10:14:25 +0000 (12:14 +0200)
commitbc6439ba3209fd0694c6c97c2be1d318d97b39e0
tree9dd1300cd67f0d8e3db8e7ebb7cb2c721e6217ad
parent36ce5ebaf4348afe2abbb3e3e0c0bd04d8bec283
setterm: cleanup usage() and man page

usage:
 * use --option[=<argument>] to make it obvious that '=' is required
 * don't use [ ] for required arguments
 * add separators to make it more readable

man page
 * use --option=[<argument>] for optional arguments in man page
 * don't use \fI or \fB for keywords based arguments (on|off|default ...)
 * use the same style in all man page

Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/setterm.1
term-utils/setterm.c