Fix script name in syntax msg

svn:r4203
This commit is contained in:
Nick Mathewson 2005-05-14 00:39:34 +00:00
parent e2749de1bb
commit 7fa5954431

View File

@ -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)