diff options
author | Sami Kerola | 2011-04-02 18:11:09 +0200 |
---|---|---|
committer | Karel Zak | 2011-04-06 10:48:35 +0200 |
commit | ca96c6ac52d5c25a7f3e8d2b5b433faf1ad47bc0 (patch) | |
tree | b65c9228da060a04815e6a13b2f444caba665a24 /schedutils | |
parent | rev: memory leak fix (diff) | |
download | kernel-qcow2-util-linux-ca96c6ac52d5c25a7f3e8d2b5b433faf1ad47bc0.tar.gz kernel-qcow2-util-linux-ca96c6ac52d5c25a7f3e8d2b5b433faf1ad47bc0.tar.xz kernel-qcow2-util-linux-ca96c6ac52d5c25a7f3e8d2b5b433faf1ad47bc0.zip |
rev: option parsing bug fixed & long options added
The former getopts segment gave impression unknown options will
cause the program to exit with error and help is available with
-h. Neither work quite as designed, all unknown options made the
program to exit with success; and none of the options where
known.
The fix also has support for long options, and new --version
switch.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'schedutils')
0 files changed, 0 insertions, 0 deletions