From 1777dd55b3a9a5cb9c6d3fe62ba1cfbc28c05d57 Mon Sep 17 00:00:00 2001 From: Bjoern Tropf Date: Thu, 3 Dec 2009 19:10:24 +0100 Subject: Use gnu_getopt --- pym/kernelcheck/kernelcheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3-65-gdbad