Hejsil / zig-clap

Command line argument parsing library
MIT License
939 stars 67 forks source link

Supporting long options of more than one word #87

Closed jasyip closed 1 year ago

jasyip commented 1 year ago

Some programs have long option flags that you can pass, such as --min-value. I cannot access the data member when passing the long name like that, but --minvalue works. Can this program support this? Thanks

jasyip commented 1 year ago

I learned how to reference them, just do res.args.@"min-value"