diff options
| author | 2020-08-28 15:57:36 +1000 | |
|---|---|---|
| committer | 2020-09-06 17:31:27 +0200 | |
| commit | 41ac75b6db818ce9431d145d5a9e335cf38cc117 (patch) | |
| tree | 4c33df98bd1e9e562b73885cd0d1256e84345eb7 /clap.zig | |
| parent | add documentation to Values enum (diff) | |
| download | zig-clap-41ac75b6db818ce9431d145d5a9e335cf38cc117.tar.gz zig-clap-41ac75b6db818ce9431d145d5a9e335cf38cc117.tar.xz zig-clap-41ac75b6db818ce9431d145d5a9e335cf38cc117.zip | |
fix up
Diffstat (limited to 'clap.zig')
| -rw-r--r-- | clap.zig | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 { |