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
|
verbose = 1
|
||||||
|
|
||||||
try:
|
try:
|
||||||
opts, args = getopt.getopt(sys.argv[1:], 'ihq',
|
opts, args = getopt.getopt(sys.argv[1:], 'ihqu:',
|
||||||
['install', 'help', 'quiet'])
|
['install', 'help', 'quiet', 'user='])
|
||||||
except getopt.error, msg:
|
except getopt.error, msg:
|
||||||
usage(1, msg)
|
usage(1, msg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue