summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Asherah Connor2020-08-28 15:48:59 +1000
committerGravatar Komari Spaghetti2020-08-28 09:43:42 +0200
commite8055f9d7b8da4cab29c308c19ac2ca52b05625b (patch)
treeb206ad87d1ccce50350d94c961b4eb68195cf1b8
parentseparate options into single and multiple (diff)
downloadzig-clap-e8055f9d7b8da4cab29c308c19ac2ca52b05625b.tar.gz
zig-clap-e8055f9d7b8da4cab29c308c19ac2ca52b05625b.tar.xz
zig-clap-e8055f9d7b8da4cab29c308c19ac2ca52b05625b.zip
add documentation to Values enum
-rw-r--r--clap.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/clap.zig b/clap.zig
index 547e352..798aebf 100644
--- a/clap.zig
+++ b/clap.zig
@@ -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.
28pub const Values = enum { 29pub const Values = enum {
29 None, 30 None,
30 One, 31 One,