Whoops, incorrect getopt string

This commit is contained in:
Stefano Rivera 2010-10-03 02:10:22 +02:00
parent 57dccd844d
commit 1e12c1fb7a

View File

@ -286,7 +286,7 @@ if __name__ == '__main__':
long_opts = ["help", "key=", "lvm=", "package=", "section=", "silent", long_opts = ["help", "key=", "lvm=", "package=", "section=", "silent",
"update", "upload", "verbose", "version=", "with-sbuild", "update", "upload", "verbose", "version=", "with-sbuild",
"pbuilder=", "with-piuparts"] "pbuilder=", "with-piuparts"]
opts, args = getopt.gnu_getopt(sys.argv[1:], "e:fhk:p:PsSC:uvV:", long_opts) opts, args = getopt.gnu_getopt(sys.argv[1:], "e:hk:p:PsSC:uUvV:", long_opts)
except getopt.GetoptError, e: except getopt.GetoptError, e:
# will print something like "option -a not recognized" # will print something like "option -a not recognized"
print >> sys.stderr, str(e) print >> sys.stderr, str(e)