diff options
| author | 2020-08-28 15:48:59 +1000 | |
|---|---|---|
| committer | 2020-08-28 09:43:42 +0200 | |
| commit | e8055f9d7b8da4cab29c308c19ac2ca52b05625b (patch) | |
| tree | b206ad87d1ccce50350d94c961b4eb68195cf1b8 | |
| parent | separate options into single and multiple (diff) | |
| download | zig-clap-e8055f9d7b8da4cab29c308c19ac2ca52b05625b.tar.gz zig-clap-e8055f9d7b8da4cab29c308c19ac2ca52b05625b.tar.xz zig-clap-e8055f9d7b8da4cab29c308c19ac2ca52b05625b.zip | |
add documentation to Values enum
| -rw-r--r-- | clap.zig | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -25,6 +25,7 @@ pub const Names = struct { | |||
| 25 | long: ?[]const u8 = null, | 25 | long: ?[]const u8 = null, |
| 26 | }; | 26 | }; |
| 27 | 27 | ||
| 28 | /// Whether a param takes no value (a flag), one value, or can be specified multiple times. | ||
| 28 | pub const Values = enum { | 29 | pub const Values = enum { |
| 29 | None, | 30 | None, |
| 30 | One, | 31 | One, |