MCPcopy
hub / github.com/shadowsocks/shadowsocks / print_local_help

Function print_local_help

shadowsocks/shell.py:330–359  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

328
329
330def print_local_help():
331 print('''usage: sslocal [OPTION]...
332A fast tunnel proxy that helps you bypass firewalls.
333
334You can supply configurations via either config file or command line arguments.
335
336Proxy options:
337 -c CONFIG path to config file
338 -s SERVER_ADDR server address
339 -p SERVER_PORT server port, default: 8388
340 -b LOCAL_ADDR local binding address, default: 127.0.0.1
341 -l LOCAL_PORT local port, default: 1080
342 -k PASSWORD password
343 -m METHOD encryption method, default: aes-256-cfb
344 -t TIMEOUT timeout in seconds, default: 300
345 -a ONE_TIME_AUTH one time auth
346 --fast-open use TCP_FASTOPEN, requires Linux 3.7+
347
348General options:
349 -h, --help show this help message and exit
350 -d start/stop/restart daemon mode
351 --pid-file PID_FILE pid file for daemon mode
352 --log-file LOG_FILE log file for daemon mode
353 --user USER username to run as
354 -v, -vv verbose mode
355 -q, -qq quiet mode, only show warnings/errors
356 --version show version information
357
358Online help: <https://github.com/shadowsocks/shadowsocks>
359''&#x27;)
360
361
362def print_server_help():

Callers 3

check_configFunction · 0.85
get_configFunction · 0.85
print_helpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected