summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-04-17 14:30:32 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2018-04-17 07:30:32 -0500
commit4bf7ce7d9987706efdd1e91ada41637c1a00273d (patch)
tree6cee78fd9d91d7efee8c41dacd5f348beb5f40bd /.gitignore
parent1c8df39024347c3b9359e91f985828bedc0c7782 (diff)
downloadspack-4bf7ce7d9987706efdd1e91ada41637c1a00273d.tar.gz
spack-4bf7ce7d9987706efdd1e91ada41637c1a00273d.tar.bz2
spack-4bf7ce7d9987706efdd1e91ada41637c1a00273d.tar.xz
spack-4bf7ce7d9987706efdd1e91ada41637c1a00273d.zip
Better error message for spack providers (#7748)
* Better error message for spack providers fixes #1355 `spack providers` now outputs a sensible error message if non-virtual specs are provided as arguments: ``` $ spack providers mpi zlib petsc ==> Error: non-virtual specs cannot be part of the query [zlib, petsc] ``` Formatting of the output changed slightly. * Calling 'spack providers' without arguments print the virtual pkg list Also, the error message in case of a wrong parameter has been improved to show the list of valid packages. * Avoid printing headers if stdout is not a tty * The provider list is formatted with colify if not in a tty * Added a test to check the list of providers returned from the command
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions