diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2022-03-28 23:48:46 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-03-29 01:26:18 -0400 |
| commit | 80192aa577578a094c7da2c3696edbfbd38052cf (patch) | |
| tree | f3aa638c8f82f26132a133a221fea7869f82399c /.github/workflows | |
| parent | 823da3990947a8f4a2152826f0d7229f8a7a0159 (diff) | |
| download | meson-80192aa577578a094c7da2c3696edbfbd38052cf.tar.gz | |
runpython: support --version
argparse is the gift that keeps on giving, hahaha. Suppress the script
argument when --version is specified to avoid "required argument not
provided" errors, and print the python version.
The version argument is required in order to make this baseline
functional as a resolved python for find_program, which may specify a
version and expect this to work with python itself. Our incomplete CLI
wrapper over the python CLI interface was missing this.
Fixes #10162
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions
