diff options
| author | 2020-08-28 15:57:36 +1000 | |
|---|---|---|
| committer | 2020-08-28 09:43:42 +0200 | |
| commit | e006791a7d8b8a6b5247a1c0f2b04c89d851fc00 (patch) | |
| tree | 198fb6717338d22db2e910e459991aa231da1612 /clap.zig | |
| parent | add documentation to Values enum (diff) | |
| download | zig-clap-e006791a7d8b8a6b5247a1c0f2b04c89d851fc00.tar.gz zig-clap-e006791a7d8b8a6b5247a1c0f2b04c89d851fc00.tar.xz zig-clap-e006791a7d8b8a6b5247a1c0f2b04c89d851fc00.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 { |