Integrated: 323: ArgumentParser should support --version

Erik Helin ehelin at
Thu Mar 18 10:59:19 UTC 2021

On Thu, 18 Mar 2021 10:42:50 GMT, Erik Helin <ehelin at> wrote:

> Hi all,
> please review this patch that makes the CLI tools **not** show an error when required flags and inputs are missing _and_ the flag `--version` is specified. If a user runs `git <tool> --version` then they shouldn't have to add required flags or input, they just want to see the version.
> Testing:
> - [x] Manual testing on Linux x64
> Thanks,
> Erik

This pull request has now been integrated.

Changeset: d4d23aa7
Author:    Erik Helin <ehelin at>
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

323: ArgumentParser should support --version

Reviewed-by: rwestberg



More information about the skara-dev mailing list