From: Eric S. Raymond Date: Mon, 14 May 2012 00:58:26 +0000 (-0400) Subject: The -d option is silly. Nuke it. X-Git-Tag: 1.0~11 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=5412aef0ad470e08684cccb41bc4d24601466971;p=coverity-submit.git The -d option is silly. Nuke it. --- diff --git a/coverity-submit b/coverity-submit index 8522862..57ead57 100755 --- a/coverity-submit +++ b/coverity-submit @@ -28,11 +28,9 @@ if config.has_option("DEFAULT", "tools"): # Deduce what project and directory to operate on (and go there). noexec = False -(opts, args) = getopt.getopt(sys.argv[1:], "d:n") +(opts, args) = getopt.getopt(sys.argv[1:], "n") for (opt, arg) in opts: - if opt == '-d': - os.chdir(arg) - elif opt == '-n': + if opt == '-n': noexec = True where = os.path.basename(os.getcwd()) if args: