{"push_id":1181596670,"size":5,"distinct_size":0,"ref":"refs/heads/master","head":"dc6740a5ff4a98597957e9d2e0ee3784f66f3ab3","before":"518a79ddc1c293e3037d18d743a788f5c906de24","commits":[{"sha":"290f61d07177413cf082ada55526d83405f6d011","author":{"name":"Kevin K","email":"21ce87ad32d444909f317a97166449d6aad0e545@gmail.com"},"message":"fix(Options): using options with an = no longer parse args after the trailing space as values\n\nImagine two args, an options `-o` and a positionanl arg `<file>` where the option allows multiple\nvalues. Prior to this change the following (incorrect) parses were occurring:\n\n```\n$ prog -o=1 some.txt\no = 1, file\nfile =\n```\n\nThis change stops parsing values at the space, only if the `=` was used.\n\n```\n$ prog -o=1 some.txt\no = 1\nfile = some.txt\n```\n\nMultiple values are still supported via value delimiters\n\n```\n$ prog -o=1,2 some.txt\no = 1, 2\nfile = some.txt\n```\n\nRelates to #546","distinct":false,"url":"https://api.github.com/repos/kbknapp/clap-rs/commits/290f61d07177413cf082ada55526d83405f6d011"},{"sha":"cdc500bdde6abe238c36ade406ddafc2bafff583","author":{"name":"Kevin K","email":"21ce87ad32d444909f317a97166449d6aad0e545@gmail.com"},"message":"fix(Options): values using delimiters no longer parse additional values after a trailing space\n\nImagine two args, an option `-o` which accepts mutliple values, and a positional arg `<file>`.\nPrior to this change the following (incorrect) parses would have happened:\n\n```\n$ prog -o 1,2 some.txt\no = 1, 2, file\nfile =\n```\n\nOnly when delimters are used, spaces stop parsing values for the option. The follow are now correct\n\n```\n$ prog -o 1,2 some.txt\no = 1, 2\nfile = some.txt\n\n$ prog some.txt -o 1 2\no = 1, 2\nfile = some.txt\n```\n\nThis still has the bi-product of:\n\n```\n$ prog -o 1 2 some.txt\no = 1, 2, some.txt\nfile =\n```\n\nThis is simply a CLI design and documentation issue (i.e. don't allow options with unlimited\nmultiple values with positionaln args, or clearly document that positional args go first). This\nwill also be helped by the upcoming `Arg::require_delimiter`\n\nRelates to #546","distinct":false,"url":"https://api.github.com/repos/kbknapp/clap-rs/commits/cdc500bdde6abe238c36ade406ddafc2bafff583"},{"sha":"c84834abbb5f672fd33a04e264e8859f94ec5f65","author":{"name":"Kevin K","email":"21ce87ad32d444909f317a97166449d6aad0e545@gmail.com"},"message":"tests(Options): adds tests to cover new stop parsing vals after spaces with equals or delims","distinct":false,"url":"https://api.github.com/repos/kbknapp/clap-rs/commits/c84834abbb5f672fd33a04e264e8859f94ec5f65"},{"sha":"fa452fad65e6e531d911533104ec4e3be9ea7570","author":{"name":"Kevin K","email":"21ce87ad32d444909f317a97166449d6aad0e545@gmail.com"},"message":"chore: increase version","distinct":false,"url":"https://api.github.com/repos/kbknapp/clap-rs/commits/fa452fad65e6e531d911533104ec4e3be9ea7570"},{"sha":"dc6740a5ff4a98597957e9d2e0ee3784f66f3ab3","author":{"name":"Homu","email":"d19a5ab8a9949b703fb53ed7faafd416a5b1e0ba@barosl.com"},"message":"Auto merge of #547 - kbknapp:issue-546, r=kbknapp\n\nIssue 546","distinct":false,"url":"https://api.github.com/repos/kbknapp/clap-rs/commits/dc6740a5ff4a98597957e9d2e0ee3784f66f3ab3"}]}
{"actor":{"display_login":"homu"}}