diff options
| author | 2022-02-25 19:44:52 +0100 | |
|---|---|---|
| committer | 2022-02-25 19:44:52 +0100 | |
| commit | c06c93608cb3befe77c78ba25c70b14db6f7b319 (patch) | |
| tree | 3598bbd00512eb5baa6da004ae7e42cd8005c3eb /example/streaming-clap.zig | |
| parent | Change clap into generating a struct (diff) | |
| download | zig-clap-c06c93608cb3befe77c78ba25c70b14db6f7b319.tar.gz zig-clap-c06c93608cb3befe77c78ba25c70b14db6f7b319.tar.xz zig-clap-c06c93608cb3befe77c78ba25c70b14db6f7b319.zip | |
Revert "Change clap into generating a struct"
This reverts commit cfaac64c404fb1c2e892880410aa3b7dd881ea58.
Diffstat (limited to '')
| -rw-r--r-- | example/streaming-clap.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/streaming-clap.zig b/example/streaming-clap.zig index cacda56..a7ab7d8 100644 --- a/example/streaming-clap.zig +++ b/example/streaming-clap.zig | |||
| @@ -32,7 +32,7 @@ pub fn main() !void { | |||
| 32 | // This is optional. You can also leave the `diagnostic` field unset if you | 32 | // This is optional. You can also leave the `diagnostic` field unset if you |
| 33 | // don't care about the extra information `Diagnostic` provides. | 33 | // don't care about the extra information `Diagnostic` provides. |
| 34 | var diag = clap.Diagnostic{}; | 34 | var diag = clap.Diagnostic{}; |
| 35 | var parser = clap.streaming.Clap(u8, process.ArgIterator){ | 35 | var parser = clap.StreamingClap(u8, process.ArgIterator){ |
| 36 | .params = ¶ms, | 36 | .params = ¶ms, |
| 37 | .iter = &iter, | 37 | .iter = &iter, |
| 38 | .diagnostic = &diag, | 38 | .diagnostic = &diag, |