spack pkg add: add help message (#10116)

This commit is contained in:
Adam J. Stewart 2018-12-15 04:44:37 -06:00 committed by Massimiliano Culpo
parent 71a86bb840
commit 1424830378

View File

@ -71,6 +71,7 @@ def list_packages(rev):
def pkg_add(args):
"""Add a package to the git stage."""
for pkg_name in args.packages:
filename = spack.repo.path.filename_for_package_name(pkg_name)
if not os.path.isfile(filename):