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

Use for loop in example with multiple values #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

openjck
Copy link

@openjck openjck commented Jan 18, 2024

The last example, which uses an argument with multiple values, can be made more terse by using a for loop. I think this is an improvement, but whether others agree is subjective and a matter of style, so I'd understand if this change is not accepted.

@openjck openjck force-pushed the readme-multiple-values-for-loop branch from 1bdfd2e to 92ca97b Compare January 18, 2024 19:47
@Sylvain303
Copy link
Collaborator

Hello @openjck

Thanks for your contribution... This is very cosmetic change about the doc.

Some parts are imported directly from source code. So I didn't took time to verify the code yet.

Also I don't use the ugly bash fake nested array syntax. So it's probably some legacy code here.

Did you have a look at docopts.sh helper?

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