mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
Whoops, incorrect getopt string
This commit is contained in:
parent
57dccd844d
commit
1e12c1fb7a
2
ack-sync
2
ack-sync
@ -286,7 +286,7 @@ if __name__ == '__main__':
|
||||
long_opts = ["help", "key=", "lvm=", "package=", "section=", "silent",
|
||||
"update", "upload", "verbose", "version=", "with-sbuild",
|
||||
"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:
|
||||
# will print something like "option -a not recognized"
|
||||
print >> sys.stderr, str(e)
|
||||
|
Loading…
x
Reference in New Issue
Block a user