Skip to content

Commit

Permalink
docs(README.md): adds new features to what's new list
Browse files Browse the repository at this point in the history
  • Loading branch information
kbknapp committed Jul 8, 2015
1 parent 1528038 commit 938f7f0
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,22 @@ It is a simple to use, efficient, and full featured library for parsing command

## What's New

If you're already familiar with `clap` but just want to see some new highlights as of **1.0.0-beta**
If you're already familiar with `clap` but just want to see some new highlights as of **1.0.0**

* **Args can now be parsed from arbitrary locations!** This makes testing immensly easier. Thanks to [cristicbz](https://github.com/cristicbz) for the idea!

Example...

```rust
let v = vec!["my_prog", "some_arg", "-f"];
let m = App::new("my_prog")
// Normal configuration goes here...
.get_matches_from(v);

// Use matches like normal...
```

As of **1.0.0-beta**

* **Deprecated Functions Removed** - In an effort to start a 1.x all deprecated functions have been removed, see the deprecations sections below to update your code (very minimal)
* **Can fully override help** - This allows you fully override the auto-generated help if you so choose
Expand Down

0 comments on commit 938f7f0

Please sign in to comment.