diff --git a/README.md b/README.md index b5308d4..9abdd48 100644 --- a/README.md +++ b/README.md @@ -19,15 +19,15 @@ Experimental async SOCKS5 (TCP/UDP) proxy server based on [fast-socks5](https:// ## Usage ``` bash -RUST_LOG=trace cargo run -- -a=http://localhost/allow.txt \ - -a=/path/to/allow.txt \ - -c=/path/to/cache.txt \ +RUST_LOG=trace cargo run -- --allow=http://localhost/allow.txt \ + --allow=/path/to/allow.txt \ + --cache=/path/to/cache.txt \ no-auth ``` * set `socks5://127.0.0.1:1080` proxy in your application -* open http://127.0.0.1:8010 in browser for global stats: - * `/allow/domain.com` - add rule to the current session - * `/block/domain.com` - delete rule from the current session +* open http://127.0.0.1:8010 in browser for stats: + * `/allow/domain.com` - add rule to the current session (and `--cache` if defined) + * `/block/domain.com` - delete rule from the current session (and `--cache` if defined) ### Allow list example