commands: update help for spack install --yes-to-all
(#18367)
`spack install --yes-to-all` doesn't actually make the build non-interactive, but that is why people typically use it. This documents that you must also specify `--no-checksum` for a fully non-interactive build.
This commit is contained in:
@@ -160,8 +160,15 @@ def setup_parser(subparser):
|
||||
action='store_true',
|
||||
help="Show usage instructions for CDash reporting"
|
||||
)
|
||||
subparser.add_argument(
|
||||
'-y', '--yes-to-all',
|
||||
action='store_true',
|
||||
dest='yes_to_all',
|
||||
help="""assume "yes" is the answer to every confirmation request.
|
||||
To run completely non-interactively, also specify '--no-checksum'."""
|
||||
)
|
||||
add_cdash_args(subparser, False)
|
||||
arguments.add_common_arguments(subparser, ['yes_to_all', 'spec'])
|
||||
arguments.add_common_arguments(subparser, ['spec'])
|
||||
|
||||
|
||||
def add_cdash_args(subparser, add_help):
|
||||
|
Reference in New Issue
Block a user