spack buildcache: --allow_root -> --allow-root (#10115)

This commit is contained in:
Adam J. Stewart 2018-12-17 13:02:28 -06:00 committed by GitHub
parent 29f26da04d
commit d5d64bdf3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',