diff options
author | 2009-12-03 19:10:24 +0100 | |
---|---|---|
committer | 2009-12-03 19:10:24 +0100 | |
commit | 1777dd55b3a9a5cb9c6d3fe62ba1cfbc28c05d57 (patch) | |
tree | a5e1e6dc82b17c2afde58071d1796b202c83d1db | |
parent | Implement kernel-check [BUGID|CVE] (diff) | |
download | kernel-check-1777dd55b3a9a5cb9c6d3fe62ba1cfbc28c05d57.tar.gz kernel-check-1777dd55b3a9a5cb9c6d3fe62ba1cfbc28c05d57.tar.bz2 kernel-check-1777dd55b3a9a5cb9c6d3fe62ba1cfbc28c05d57.zip |
Use gnu_getopt
-rwxr-xr-x | pym/kernelcheck/kernelcheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/kernelcheck/kernelcheck.py b/pym/kernelcheck/kernelcheck.py index 1cb359c..eb039b9 100755 --- a/pym/kernelcheck/kernelcheck.py +++ b/pym/kernelcheck/kernelcheck.py @@ -29,7 +29,7 @@ def main(argv): 'Main function' try: - opts, args = getopt.getopt(argv, 'dhnr:sv', + opts, args = getopt.gnu_getopt(argv, 'dhnr:sv', ['debug', 'help', 'nocolor', 'report=', 'sync', 'verbose']) except getopt.GetoptError, e: usage() |