summaryrefslogtreecommitdiffstats
path: root/usr.bin/chkey
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-11-08 11:36:46 +0000
committered <ed@FreeBSD.org>2011-11-08 11:36:46 +0000
commitc2950f3c9ceda28fc6ac670023806066c9b2af75 (patch)
tree2e4e166ef147029cdd9df2cf07f8e69f4333f102 /usr.bin/chkey
parent8e918ec4392cb32837f42437c386d9dfb54b257c (diff)
downloadFreeBSD-src-c2950f3c9ceda28fc6ac670023806066c9b2af75.zip
FreeBSD-src-c2950f3c9ceda28fc6ac670023806066c9b2af75.tar.gz
Simplify getopt switch parsing.
Only one of these flags can be set. Just add them together and check the value. Also, get rid of the listall variable. The code is already filled with direct *flag-comparisons. Obtained from: Alexander Best (though modified)
Diffstat (limited to 'usr.bin/chkey')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud