DocOpt.jl
DocOpt.jl copied to clipboard
List of arguments followed by another list
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>...
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"].