]> git.ipfire.org Git - thirdparty/util-linux.git/commit
setarch: cleanup options usage
authorKarel Zak <kzak@redhat.com>
Mon, 12 Jan 2015 11:19:54 +0000 (12:19 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 12 Jan 2015 11:22:10 +0000 (12:22 +0100)
commit5edb0ea6bbd57dd916417737f98c9109dc1ecb5b
tree7c4a0cd0786a7727114f709bdb02ab5eff3c3b98
parent8854b121fd7762c18550a7a4d7b7c849ac98aa52
setarch: cleanup options usage

* call --help, --verbose and --list from one place only
* add 'archwrapper' variable to detect when called by symplink
* make --list available only got setchar(8) (but no for symlinks)

Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/setarch.c