Skip to content

Commit

Permalink
short usage blurb on the advanced example
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyen committed Apr 16, 2015
1 parent 02b548c commit b0d100d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions cmd/cbft/main_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,11 @@ func initFlags(flags *Flags) map[string][]string {
}

const examples = `
Getting started with a local couchbase server as the datasource:
Getting started, where a local couchbase server is the datasource:
mkdir -p data
./cbft -server=http://localhost:8091
More advanced example:
./cbft -bindHttp=localhost:9090 \
-cfg=couchbase:http://cfg-bucket@localhost:8091 \
-data=/var/data/cbft-data \
-server=http://localhost:8091
Example where configuration is kept in a couchbase "cfg-bucket":
./cbft -cfg=couchbase:http://cfg-bucket@CB_HOST:8091 \
-server=http://CB_HOST:8091
`

0 comments on commit b0d100d

Please sign in to comment.