influxdb/cmd/influx
Mark Rushakoff f6b26d30dd Shell includes version in user agent string
Note on how overriding the version works:

If you just run `go run cmd/influx/main.go` you'll see the shell print
out "Influx DB shell 0.9" as this commit sets the package-level variable
`version` to the string "0.9".

Running `go run -ldflags "-X main.version 123" cmd/influx/main.go` will
print out "Influx DB shell 123". (`-ldflags` works for `go install` and
`go build`, too.)
2015-02-11 22:08:21 -08:00
..
main.go Shell includes version in user agent string 2015-02-11 22:08:21 -08:00
main_test.go