Skip to content

Commit

Permalink
docs: fixes versions referenced in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
kbknapp committed Apr 6, 2019
1 parent a805b30 commit d307466
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ subcommands:
Since this feature requires additional dependencies that not everyone may want, it is *not* compiled in by default and we need to enable a feature flag in Cargo.toml:
Simply change your `clap = "2.32"` to `clap = {version = "2.32", features = ["yaml"]}`.
Simply change your `clap = "2.33"` to `clap = {version = "2.33", features = ["yaml"]}`.

Finally we create our `main.rs` file just like we would have with the previous two examples:

Expand Down Expand Up @@ -370,15 +370,15 @@ To disable these, add this to your `Cargo.toml`:

```toml
[dependencies.clap]
version = "2.32"
version = "2.33"
default-features = false
```

You can also selectively enable only the features you'd like to include, by adding:

```toml
[dependencies.clap]
version = "2.32"
version = "2.33"
default-features = false
# Cherry-pick the features you'd like to use
Expand Down

0 comments on commit d307466

Please sign in to comment.