Descriptionjuju --version: support alternative syntax
This makes it so the go version of juju supports the same flag as the
python version. Namely "juju --version" prints out the version, as
though you specified "juju version".
This should be sufficient to close bug #1182898.
There are some edge cases that I didn't try to solve (what is
"juju init --version" supposed to do, etc.) Technically '--version' has
to come before the command in order to be interpreted as a global
option. For now the flag is just ignored, as the case we care about
is plain 'juju --version' which works as expected.
https://code.launchpad.net/~jameinel/juju-core/juju-version-1182898/+merge/173893
(do not edit description out of merge proposal)
Patch Set 1 #
MessagesTotal messages: 4
|