diff options
Diffstat (limited to '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); |