Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make_subspack doesn't exit if passed unrecognized option #38

Open
gavinsdavies opened this issue Apr 9, 2024 · 0 comments
Open

make_subspack doesn't exit if passed unrecognized option #38

gavinsdavies opened this issue Apr 9, 2024 · 0 comments

Comments

@gavinsdavies
Copy link

Running make_subspack with a typo in an option doesn't cause it to gracefully exit:

% make_subspack --with-padding /cvmfs/larsoft.opensciencegrid.org/spack-packages/ $PWD/emph-spack
getopt: unrecognized option '--with-padding'
Putting detail log in /tmp/make_subspack_19515.log
git clone-ing spack ....

I made a typo in the --with_padding option but if one doesn't pay close attention that it was not a valid option can be missed and it'll create the subspack minus the option one thought one has passed through.

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

No branches or pull requests

1 participant