updated usage example

This commit is contained in:
Jan Halfar 2016-03-07 16:25:01 +01:00
parent 1dffddbee3
commit 315544138c
2 changed files with 11 additions and 8 deletions

View File

@ -1,7 +1,7 @@
SHELL := /bin/bash
options:
echo "you can clean | test | build | build-arch | run | package"
echo "you can clean | test | build | build-arch | package"
clean:
rm -fv bin/contentserve*
build: clean
@ -12,4 +12,4 @@ build-arch: clean
package: build
pkg/build.sh
test:
go test -v github.com/foomo/contentserver/server/repo
go test ./...

View File

@ -47,12 +47,15 @@ Usage
```
$ contentserver --help
Usage of bin/contentserver:
-address="127.0.0.1:8081": address to bind host:port
-logLevel="record": one of error, record, warning, notice, debug
-protocol="tcp": what protocol to server for
-vardir="127.0.0.1:8081": where to put my data
Usage of contentserver:
-address string
address to bind host:port (default "127.0.0.1:8081")
-log-level string
one of error, record, warning, notice, debug (default "record")
-var-dir string
where to put my data (default "/var/lib/contentserver")
-version
version info
```
License