commit | aabb686bc7c962104efc1dd1ba6f633f31378a76 | [log] [tgz] |
---|---|---|
author | Antoine Musso <hashar@free.fr> | Tue Jan 14 17:32:09 2014 +0100 |
committer | Antoine Musso <hashar@free.fr> | Tue Jan 28 10:41:11 2014 +0100 |
tree | 02351248f3207d2100810a714b2cadabc534f654 | |
parent | f39b9ca80c482c2465295ba97b6050308cb7d849 [diff] |
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