mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 23:32:32 +00:00
Update README.md
This commit is contained in:
parent
bc02743249
commit
b33ca47ab4
1 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
# StructOpt [![Build status](https://travis-ci.org/TeXitoi/structopt.svg?branch=master)](https://travis-ci.org/TeXitoi/structopt) [![](https://img.shields.io/crates/v/structopt.svg)](https://crates.io/crates/structopt) [![](https://docs.rs/structopt-derive/badge.svg)](https://docs.rs/structopt-derive)
|
||||
# StructOpt [![Build status](https://travis-ci.org/TeXitoi/structopt.svg?branch=master)](https://travis-ci.org/TeXitoi/structopt) [![](https://img.shields.io/crates/v/structopt.svg)](https://crates.io/crates/structopt) [![](https://docs.rs/structopt/badge.svg)](https://docs.rs/structopt)
|
||||
|
||||
Parse command line argument by defining a struct. It combines [clap](https://crates.io/crates/clap) with custom derive.
|
||||
|
||||
|
@ -6,11 +6,11 @@ Parse command line argument by defining a struct. It combines [clap](https://cr
|
|||
|
||||
## Documentation
|
||||
|
||||
Find it on Docs.rs: [structopt-derive](https://docs.rs/structopt-derive) and [structopt](https://docs.rs/structopt).
|
||||
Find it on [Docs.rs](https://docs.rs/structopt).
|
||||
|
||||
## Example
|
||||
|
||||
Add `structopt` and `structopt-derive` to your dependencies of your `Cargo.toml`:
|
||||
Add `structopt` to your dependencies of your `Cargo.toml`:
|
||||
```toml
|
||||
[dependencies]
|
||||
structopt = "0.2"
|
||||
|
@ -77,7 +77,7 @@ USAGE:
|
|||
|
||||
For more information try --help
|
||||
$ ./basic --help
|
||||
basic 0.1.8
|
||||
basic 0.2.0
|
||||
Guillaume Pinot <texitoi@texitoi.eu>
|
||||
A basic example
|
||||
|
||||
|
|
Loading…
Reference in a new issue