cloudfoundry-attic / bosh-init

bosh-init is a tool used to create and update the Director VM
Apache License 2.0
31 stars 33 forks source link

`bosh --version` returns failure; should return success #94

Closed cunnie closed 8 years ago

cunnie commented 8 years ago

bosh --version returns failure (1); should return success (0).

$ bosh --version
version 0.0.25-daaed40-2016-08-15T18:49:02Z

Exit code 1

The UNIX convention is to return success when passed the --version flag (0); e.g.

tar --version; echo $?
bsdtar 2.8.3 - libarchive 2.8.3
0
cppforlife commented 8 years ago

https://github.com/jessevdk/go-flags/issues/186

cppforlife commented 8 years ago

Moved to https://github.com/cloudfoundry/bosh-cli/issues/2