summaryrefslogtreecommitdiff
path: root/clap.zig
diff options
context:
space:
mode:
authorGravatar Asherah Connor2020-08-28 15:57:36 +1000
committerGravatar Jimmi Holst Christensen2020-09-06 17:31:27 +0200
commit41ac75b6db818ce9431d145d5a9e335cf38cc117 (patch)
tree4c33df98bd1e9e562b73885cd0d1256e84345eb7 /clap.zig
parentadd documentation to Values enum (diff)
downloadzig-clap-41ac75b6db818ce9431d145d5a9e335cf38cc117.tar.gz
zig-clap-41ac75b6db818ce9431d145d5a9e335cf38cc117.tar.xz
zig-clap-41ac75b6db818ce9431d145d5a9e335cf38cc117.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 593191d..c312251 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 {