zuul/zuul/cmd
Antoine Musso aabb686bc7 Fix up `zuul --version`
argparse does not support optional subparser, hence the `zuul` client
command would always require to be passed a sub command.  That prevented
`zuul --version` from showing up with a 'too few arguments' error.

I found out add_argument() has a action='version' which would print the
content of the 'version' argument and exit.

Change-Id: I553d3b2ab7aa04865e44559135adc5a7640307ed
2014-01-28 10:41:11 +01:00
..
__init__.py Use entrypoints for zuul-server. 2012-11-27 00:44:41 +00:00
client.py Fix up `zuul --version` 2014-01-28 10:41:11 +01:00
server.py Fix up `zuul --version` 2014-01-28 10:41:11 +01:00