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

Mandatory optionals #16

Open
robhaswell opened this issue Jun 16, 2015 · 1 comment
Open

Mandatory optionals #16

robhaswell opened this issue Jun 16, 2015 · 1 comment

Comments

@robhaswell
Copy link
Contributor

flocker-volumes has many mandatory arguments which are represented as --long-options. Options are for optional arguments only. Commands with a few mandatory arguments should use logical positional arguments, e.g. flocker-volumes.py move DATASET NODE.

@lukemarsden
Copy link
Contributor

Definitely +1 for this. I wanted to do it that way from the beginning but the first thing I did turned out to be marginally easier than implementing parseArgs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants