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

🐛 Top-level options given after command aren't parsed correctly. #2

Closed
shnizzedy opened this issue Sep 23, 2020 · 0 comments · Fixed by #13
Closed

🐛 Top-level options given after command aren't parsed correctly. #2

shnizzedy opened this issue Sep 23, 2020 · 0 comments · Fixed by #13
Labels
bug Something isn't working support

Comments

@shnizzedy
Copy link
Member

Describe the bug

Giving cpac options (e.g., --platform and --image) after the command (e.g., run, utils), causes those options to be ignored or used incorrectly.

To Reproduce
Steps to reproduce the behavior:
Take a set of options that works, e.g.,

cpac --platform singularity utils --help

and move the cpac option(s) to the end

cpac utils --help --platform singularity

Expected behavior

The options work the same regardless of placement or message clarifies the expected sequence or grouping of options.

Versions

  • cpac: 0.3.0
  • Container Platform :
    • Docker
    • Singularity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant