summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2018-12-17 13:02:28 -0600
committerGitHub <noreply@github.com>2018-12-17 13:02:28 -0600
commitd5d64bdf3b329632483fe853f919604957dcea86 (patch)
tree77e52c745ee91b93cd073dacbcf8eba446e0bbf7 /lib
parent29f26da04df286ad9d40ef60557e5cd163ea49e1 (diff)
downloadspack-d5d64bdf3b329632483fe853f919604957dcea86.tar.gz
spack-d5d64bdf3b329632483fe853f919604957dcea86.tar.bz2
spack-d5d64bdf3b329632483fe853f919604957dcea86.tar.xz
spack-d5d64bdf3b329632483fe853f919604957dcea86.zip
spack buildcache: --allow_root -> --allow-root (#10115)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/buildcache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/cmd/buildcache.py b/lib/spack/spack/cmd/buildcache.py
index dc9f736a7e..e9aa6d849e 100644
--- a/lib/spack/spack/cmd/buildcache.py
+++ b/lib/spack/spack/cmd/buildcache.py
@@ -31,7 +31,7 @@ def setup_parser(subparser):
create.add_argument('-u', '--unsigned', action='store_true',
help="create unsigned buildcache" +
" tarballs for testing")
- create.add_argument('-a', '--allow_root', action='store_true',
+ create.add_argument('-a', '--allow-root', action='store_true',
help="allow install root string in binary files " +
"after RPATH substitution")
create.add_argument('-k', '--key', metavar='key',
@@ -50,7 +50,7 @@ def setup_parser(subparser):
help="overwrite install directory if it exists.")
install.add_argument('-m', '--multiple', action='store_true',
help="allow all matching packages ")
- install.add_argument('-a', '--allow_root', action='store_true',
+ install.add_argument('-a', '--allow-root', action='store_true',
help="allow install root string in binary files " +
"after RPATH substitution")
install.add_argument('-u', '--unsigned', action='store_true',