Integrated: 323: ArgumentParser should support --version
Erik Helin
ehelin at openjdk.java.net
Thu Mar 18 10:59:19 UTC 2021
On Thu, 18 Mar 2021 10:42:50 GMT, Erik Helin <ehelin at openjdk.org> 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 openjdk.org>
URL: https://git.openjdk.java.net/skara/commit/d4d23aa7
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
323: ArgumentParser should support --version
Reviewed-by: rwestberg
-------------
PR: https://git.openjdk.java.net/skara/pull/1078
More information about the skara-dev
mailing list