summaryrefslogtreecommitdiffstats
path: root/test/Fortran/SHF95FLAGS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Fortran/SHF95FLAGS.py')
-rw-r--r--test/Fortran/SHF95FLAGS.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Fortran/SHF95FLAGS.py b/test/Fortran/SHF95FLAGS.py
index b809d22..b945bac 100644
--- a/test/Fortran/SHF95FLAGS.py
+++ b/test/Fortran/SHF95FLAGS.py
@@ -39,11 +39,11 @@ test.write('myfortran.py', r"""
import getopt
import sys
comment = '#' + sys.argv[1]
-opts, args = getopt.getopt(sys.argv[2:], 'cf:o:xy')
+opts, args = getopt.getopt(sys.argv[2:], 'cf:K:o:xy')
optstring = ''
for opt, arg in opts:
if opt == '-o': out = arg
- elif opt != '-f': optstring = optstring + ' ' + opt
+ elif opt not in ('-f', '-K'): optstring = optstring + ' ' + opt
infile = open(args[0], 'rb')
outfile = open(out, 'wb')
outfile.write(optstring + "\n")