nice,chroot: use more standard option parsing
authorPádraig Brady <P@draigBrady.com>
Fri, 26 Mar 2010 07:42:01 +0000 (07:42 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 26 Mar 2010 14:31:16 +0000 (14:31 +0000)
commitb4f9559537144a7158064ca67b7a4305f1c459df
treedeb118ad51e950708800defa04f977e191422cf8
parent88d4b3461e3eeb69e1d09e89f38050abd6b81402
nice,chroot: use more standard option parsing

Related to the 2010-03-25 commit, 88d4b346,
"timeout: use more standard option parsing".
* src/nice.c (main): Don't use parse_long_options()
which is a helper for commands that don't have any
long options specific to them.
* src/chroot.c (main): Likewise.
* tests/misc/nice-fail: Remove a case that now
passes due to us accepting multiple instances of the
--help and --version options.
* tests/misc/chroot-fail: Likewise.
src/chroot.c
src/nice.c
tests/misc/chroot-fail
tests/misc/nice-fail