diff options
| author | 2020-08-28 15:48:59 +1000 | |
|---|---|---|
| committer | 2020-09-06 17:31:27 +0200 | |
| commit | 198b96d7a70deae180e8a70df8f1227594e0037f (patch) | |
| tree | 3ea1c8074bda9c6477453d2fea82f7daa873f7a4 | |
| parent | separate options into single and multiple (diff) | |
| download | zig-clap-198b96d7a70deae180e8a70df8f1227594e0037f.tar.gz zig-clap-198b96d7a70deae180e8a70df8f1227594e0037f.tar.xz zig-clap-198b96d7a70deae180e8a70df8f1227594e0037f.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, |