Add -u and --user options to the call to getopt, to make them actually work.
This commit is contained in:
parent
794641a5c8
commit
00cf9fa6f6
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue