Add -u and --user options to the call to getopt, to make them actually work.

This commit is contained in:
Thomas Wouters 2000-11-01 23:45:47 +00:00
parent 794641a5c8
commit 00cf9fa6f6
1 changed files with 2 additions and 2 deletions

View File

@ -191,8 +191,8 @@ def main():
verbose = 1
try:
opts, args = getopt.getopt(sys.argv[1:], 'ihq',
['install', 'help', 'quiet'])
opts, args = getopt.getopt(sys.argv[1:], 'ihqu:',
['install', 'help', 'quiet', 'user='])
except getopt.error, msg:
usage(1, msg)