DocOpt.jl icon indicating copy to clipboard operation
DocOpt.jl copied to clipboard

command line arguments parser

Results 7 DocOpt.jl issues
Sort by recently updated
recently updated
newest added

### Changes - Performance: made `partition` around 50 times faster, and considerably better memory usage; - String safety: use `prevind` and `nextind` instead of `- 1` and `+ 1` respectively;...

Assume the very simple example: ```julia import DocOpt doc = """ Usage: test_docopt_order.jl -a -b Options: -a Argument A. -b Argument B. """ args = DocOpt.docopt(doc) @show args ``` Calling...

For me with Julia 1.5.0 and DocOpt 0.4.0 the special argument `--` is not detected and always false. A workaround is to pass `options_first=true` but is not always practical.

Tthe following usage is not parsed correctly: ``` Usage: main.jl --files ... --outputdir ``` I had to flip the order to make it work: ``` Usage: main.jl --outputdir --files ......

Consider the following usage description: ``` Usage: qaf_demux.jl [-i | --input_fastq ] (-o | --output_dir ) -b -s [-m ] -h --help Show this help message and exit. -i --input_fastq...

If I have a multi-line option description, `DocOpt.jl` does not correctly group all lines together, it merely grabs the first line, discarding the rest due to [this `filter!()` call removing...

I came across this package and thought it was kind of slow to use so I added a small precompile workload to speed it up: ``` # Before: # 1.8:...