diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2021-03-30 18:47:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 18:47:36 +0200 |
commit | b848fab3ec1a135ec49980ed46c2632ee96dd57b (patch) | |
tree | eb75580bad6f1d05bc79ab03bd338733a1faa194 /README.md | |
parent | c3bab11ee1a26bb7074db8490e2155c598db18ea (diff) | |
download | spack-b848fab3ec1a135ec49980ed46c2632ee96dd57b.tar.gz spack-b848fab3ec1a135ec49980ed46c2632ee96dd57b.tar.bz2 spack-b848fab3ec1a135ec49980ed46c2632ee96dd57b.tar.xz spack-b848fab3ec1a135ec49980ed46c2632ee96dd57b.zip |
SpackCommand objects can set global args (#22318)
This commit extends the API of the __call__ method of the
SpackCommand class to permit passing global arguments
like those interposed between the main "spack" command
and the subsequent subcommand.
The functionality is used to fix an issue where running
```spack -e . location -b some_package```
ends up printing the name of the environment instead of
the build directory of the package, because the location arg
parser also stores this value as `arg.env`.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions