diff options
| author | 2018-11-16 09:56:29 +0100 | |
|---|---|---|
| committer | 2018-11-16 09:56:29 +0100 | |
| commit | f4eb2e0937614b0c1c4dd99387146c3bd0d4649e (patch) | |
| tree | 4d6031488cde612a1bc0b35c124dce93ae956c1a | |
| parent | Changed Names.prefix to Names.both (diff) | |
| download | zig-clap-f4eb2e0937614b0c1c4dd99387146c3bd0d4649e.tar.gz zig-clap-f4eb2e0937614b0c1c4dd99387146c3bd0d4649e.tar.xz zig-clap-f4eb2e0937614b0c1c4dd99387146c3bd0d4649e.zip | |
Update README.md
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -20,9 +20,9 @@ The `StreamingClap` is base of all the other parsers. It's a streaming parser th | |||
| 20 | 20 | ||
| 21 | ```rust | 21 | ```rust |
| 22 | const params = []clap.Param(u8){ | 22 | const params = []clap.Param(u8){ |
| 23 | clap.Param(void).flag('h', false, clap.Names.both("help")), | 23 | clap.Param(u8).flag('h', false, clap.Names.both("help")), |
| 24 | clap.Param(void).option('n', true, clap.Names.both("number")), | 24 | clap.Param(u8).option('n', true, clap.Names.both("number")), |
| 25 | clap.Param(void).positional('f'), | 25 | clap.Param(u8).positional('f'), |
| 26 | }; | 26 | }; |
| 27 | 27 | ||
| 28 | var os_iter = clap.args.OsIterator.init(allocator); | 28 | var os_iter = clap.args.OsIterator.init(allocator); |