summaryrefslogtreecommitdiff
path: root/devtools/flocktest
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-04-17 05:53:34 +0300
committerEric S. Raymond <esr@thyrsus.com>2010-04-17 11:31:33 -0400
commita3b45d9dd76d49723bc6691755e59a7dbb913ee6 (patch)
treeb9e498f51b3f99af63077cb405dd58cc754df962 /devtools/flocktest
parent8a93dee7a445f8d66c31b6db177e70ed44d4016a (diff)
downloadgpsd-a3b45d9dd76d49723bc6691755e59a7dbb913ee6.tar.gz
flocktest: Fix the -d option to set the subdir.
The -d option sets the subdirectory on the remote machine in which flocktest runs its tests. This patch fixes the getopt option string to actually parse the option argument when the user gives one for the -d option. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'devtools/flocktest')
-rwxr-xr-xdevtools/flocktest2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/flocktest b/devtools/flocktest
index d1085aa5..420f4f24 100755
--- a/devtools/flocktest
+++ b/devtools/flocktest
@@ -260,7 +260,7 @@ class TestFlock:
if __name__ == '__main__':
try:
- (options, arguments) = getopt.getopt(sys.argv[1:], "cdkqvx:?")
+ (options, arguments) = getopt.getopt(sys.argv[1:], "cd:kqvx:?")
except getopt.GetoptError, msg:
print "flocktest: " + str(msg)
raise SystemExit, 1