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

List of arguments followed by another list #28

Open
juliohm opened this issue Jun 15, 2020 · 1 comment
Open

List of arguments followed by another list #28

juliohm opened this issue Jun 15, 2020 · 1 comment

Comments

@juliohm
Copy link

juliohm commented Jun 15, 2020

Tthe following usage is not parsed correctly:

Usage:
  main.jl --files <fnames>... --outputdir <outdir>

I had to flip the order to make it work:

Usage:
  main.jl --outputdir <outdir> --files <fnames>...
@juliohm
Copy link
Author

juliohm commented Jun 15, 2020

Actually, it doesn't work. The list of names is flipped during usage:

julia --project main.jl --files foo bar --outputdir baz

creates files = ["bar", "baz"] as opposed to files = ["foo", "bar"].

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