Skip to content

Add back help placeholder for "spack load"#6127

Merged
scheibelp merged 2 commits intospack:developfrom
scheibelp:bugfix/module-help
Nov 6, 2017
Merged

Add back help placeholder for "spack load"#6127
scheibelp merged 2 commits intospack:developfrom
scheibelp:bugfix/module-help

Conversation

@scheibelp
Copy link
Copy Markdown
Member

@alalazo would you prefer this was done in a different manner?

Fixes #6126

#3183 removed the print_help function from the "modules" module.
This adds it back so that if a user invokes 'spack load foo' without
having sourced an environment setup script, they will be prompted
to do so.

Copy link
Copy Markdown
Member

@alalazo alalazo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we put this function under lib/spack/spack/command/common? The rationale is that it deals with shell integration, not with module generation.

spack#3183 removed the print_help function from the "modules" module.
This adds it back so that if a user invokes 'spack load foo' without
having sourced an environment setup script, they will be prompted
to do so.
@scheibelp scheibelp merged commit 31c5467 into spack:develop Nov 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants