reworked argument parsing + daemon flag #19

This commit is contained in:
octeep 2022-03-30 03:00:43 +01:00
parent 026318ccc4
commit ab8ed15fb2
4 changed files with 68 additions and 4 deletions

View file

@ -22,7 +22,19 @@ anything.
# Usage
```
./wireproxy [path to config]
./wireproxy -c [path to config]
```
```
usage: wireproxy [-h|--help] -c|--config "<value>" [-d|--daemon]
Userspace wireguard client for proxying
Arguments:
-h --help Print help information
-c --config Path of configuration file
-d --daemon Make wireproxy run in background
```
# Sample config file