summaryrefslogtreecommitdiff
path: root/clap.zig
diff options
context:
space:
mode:
authorGravatar Asherah Connor2020-08-28 15:57:36 +1000
committerGravatar Komari Spaghetti2020-08-28 09:43:42 +0200
commite006791a7d8b8a6b5247a1c0f2b04c89d851fc00 (patch)
tree198fb6717338d22db2e910e459991aa231da1612 /clap.zig
parentadd documentation to Values enum (diff)
downloadzig-clap-e006791a7d8b8a6b5247a1c0f2b04c89d851fc00.tar.gz
zig-clap-e006791a7d8b8a6b5247a1c0f2b04c89d851fc00.tar.xz
zig-clap-e006791a7d8b8a6b5247a1c0f2b04c89d851fc00.zip
fix up
Diffstat (limited to 'clap.zig')
-rw-r--r--clap.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/clap.zig b/clap.zig
index 798aebf..34b398b 100644
--- a/clap.zig
+++ b/clap.zig
@@ -277,8 +277,8 @@ pub fn Args(comptime Id: type, comptime params: []const Param(Id)) type {
277 return a.clap.option(name); 277 return a.clap.option(name);
278 } 278 }
279 279
280 pub fn allOptions(a: @This(), comptime name: []const u8) [][]const u8 { 280 pub fn options(a: @This(), comptime name: []const u8) []const []const u8 {
281 return a.clap.allOptions(name); 281 return a.clap.options(name);
282 } 282 }
283 283
284 pub fn positionals(a: @This()) []const []const u8 { 284 pub fn positionals(a: @This()) []const []const u8 {