Unable to get version of couchbase-server using CLI


#1

Annoyingly, I cannot get the current couchbase-server version using CLI, for example;

$ couchbase-server -v
getopt: invalid option -- 'v'
$ couchbase-server --version
getopt: unrecognized option '--version'
$ couchbase-server -h
getopt: invalid option -- 'h'

Retrieving the version number for a piece of software should be a trivial thing, and is supported in almost every other CLI tool, can we please add support for this?

Thank you


#2

I’ve filed MB-14656 on your behalf.


#3

Beautiful, thank you. I’ll post future comments that ticket.


#4

The fix is merged and will be part of the next major release of Couchbase.