mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-03 00:53:32 +01:00
Fix script name in syntax msg
svn:r4203
This commit is contained in:
parent
e2749de1bb
commit
7fa5954431
@ -451,7 +451,7 @@ def do_main_loop(host,port):
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
if len(sys.argv) != 2:
|
if len(sys.argv) != 2:
|
||||||
print "Syntax: tor-control.py torhost:torport"
|
print "Syntax: TorControl.py torhost:torport"
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
sh,sp = parseHostAndPort(sys.argv[1])
|
sh,sp = parseHostAndPort(sys.argv[1])
|
||||||
do_main_loop(sh,sp)
|
do_main_loop(sh,sp)
|
||||||
|
Loading…
Reference in New Issue
Block a user