From 41ac75b6db818ce9431d145d5a9e335cf38cc117 Mon Sep 17 00:00:00 2001 From: Asherah Connor Date: Fri, 28 Aug 2020 15:57:36 +1000 Subject: fix up --- clap.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clap.zig') 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 { return a.clap.option(name); } - pub fn allOptions(a: @This(), comptime name: []const u8) [][]const u8 { - return a.clap.allOptions(name); + pub fn options(a: @This(), comptime name: []const u8) []const []const u8 { + return a.clap.options(name); } pub fn positionals(a: @This()) []const []const u8 { -- cgit v1.2.3