Commit graph

11 commits

Author SHA1 Message Date
Joel
3563377a5e Updated env::args().collect() to output a Vec
It seems `collect` defaults to collecting into an array which doesn't work with a collection of `String`s because `String`s vary in size and their size cannot be known at compile time. To work around this I collect the args into a `Vec` instead and pass that in. Also I think the first call to `matches` was missing an `&` on the `args` parameter.
2016-05-17 11:39:24 -06:00
Zach Dziura
426c0c9ef7 Fixed formatting and spelling errors in README 2015-06-30 01:36:53 +00:00
Zach Dziura
1c75b5354e Version 1.0 2015-06-29 07:55:53 -04:00
Zach Dziura
297aaa0ad3 Updated examples with better example
Now we'll encourage users to create an actual vector, instead of an array slice.
It's better form to do so, anyways.
2015-05-25 11:14:13 -04:00
filsmick
fb603d35ab Code example used has_match, which doesn't exist, instead of has_arg 2015-05-23 10:45:57 +02:00
Zach Dziura
1b71c6c876 Updated "Installation" section with correct version 2015-04-30 18:06:49 +00:00
Zach Dziura
25327fa441 Now returns an error when not all program args are passed via command-line
There was a lot of stuff added here. The most important addition is
how Pirate now returns a MissingArgument kinded error if a required
program argument isn't passed to the program.
2015-04-30 15:14:34 +00:00
Zach Dziura
e5924be826 Updated Travis CI build image 2015-04-28 15:00:00 +00:00
Zach Dziura
8aca4b42ac Added Travis CI build status image to README 2015-04-28 14:56:00 +00:00
Zach Dziura
7ef5a2ceb8 Adding Travis CI support 2015-04-28 14:54:30 +00:00
Zach Dziura
3aeaf8467e Version 0.1.0 2015-04-28 01:10:37 -04:00