summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2018-12-15 04:44:37 -0600
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-12-15 11:44:37 +0100
commit1424830378ba9ecbab04c9fcec85ad32f1c71954 (patch)
treed7b2758dfc47815e592d68ec56fc15fa03ee75c0 /lib
parent71a86bb84011d461758e1b2d847641db39f26433 (diff)
downloadspack-1424830378ba9ecbab04c9fcec85ad32f1c71954.tar.gz
spack-1424830378ba9ecbab04c9fcec85ad32f1c71954.tar.bz2
spack-1424830378ba9ecbab04c9fcec85ad32f1c71954.tar.xz
spack-1424830378ba9ecbab04c9fcec85ad32f1c71954.zip
spack pkg add: add help message (#10116)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/pkg.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/cmd/pkg.py b/lib/spack/spack/cmd/pkg.py
index e73c1ec61e..ff31381bbc 100644
--- a/lib/spack/spack/cmd/pkg.py
+++ b/lib/spack/spack/cmd/pkg.py
@@ -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):