mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-11 20:20:27 +08:00
add log to file option -l
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
## Usage
|
||||
> If you are running in windows, remember to select the `wintun.dll` of your arch in `lower/wintun` and place it alongside the compiled exe
|
||||
```bash
|
||||
wg [-c config.yaml] [-d|w] [-g] [-h] [-m mtu] [-p]
|
||||
wg [-c config.yaml] [-d|w] [-g] [-h] [-m mtu] [-p] [-l log.txt]
|
||||
```
|
||||
#### Instructions
|
||||
```bash
|
||||
@@ -16,8 +16,10 @@ wg [-c config.yaml] [-d|w] [-g] [-h] [-m mtu] [-p]
|
||||
-d print debug logs
|
||||
-g generate key pair
|
||||
-h display this help
|
||||
-l string
|
||||
write log to file (default "-")
|
||||
-m int
|
||||
set the mtu of wg (default 32700)
|
||||
set the mtu of wg (default 1432)
|
||||
-p show my publickey
|
||||
-w only show logs above warn level
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user