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

View File

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