Update README for new --version flag

This commit is contained in:
hedy 2023-06-19 12:16:37 +08:00
parent b48fd7633e
commit 381097e8e5
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ Check out some example configuraton in the examples/ directory.
You can override values in config file if you supply them from the command line:
```
Usage: spsrv [ [ -c <path> -h <hostname> -p <port> -d <path> ] | --help ]
Usage: spsrv [ [ -c <path> -h <hostname> -p <port> -d <path> ] | --help | --version ]
-c, --config string Path to config file
-d, --dir string Root content directory

View File

@ -122,7 +122,7 @@ Check out some example configuraton in the [examples/](examples/) directory.
You can override values in config file if you supply them from the command line:
```
Usage: spsrv [ [ -c <path> -h <hostname> -p <port> -d <path> ] | --help ]
Usage: spsrv [ [ -c <path> -h <hostname> -p <port> -d <path> ] | --help | --version ]
-c, --config string Path to config file
-d, --dir string Root content directory