support args

This commit is contained in:
clowwindy 2012-12-06 14:39:06 +08:00
parent 9bbb89581a
commit 8a3adfc344
3 changed files with 50 additions and 16 deletions

View file

@ -21,3 +21,10 @@ Change proxy settings of your browser into
SOCKS5 127.0.0.1:local_port
advanced
------------
You can use args to override settings from `config.json`.
python local.py -s server_name -p server_port -l local_port -k password
python server.py -p server_port -k password