diff options
Diffstat (limited to 'example')
| -rw-r--r-- | example/simple.zig | 2 | ||||
| -rw-r--r-- | example/streaming-clap.zig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/example/simple.zig b/example/simple.zig index 1ac7de5..2d32463 100644 --- a/example/simple.zig +++ b/example/simple.zig | |||
| @@ -15,7 +15,7 @@ pub fn main() !void { | |||
| 15 | \\ | 15 | \\ |
| 16 | ); | 16 | ); |
| 17 | 17 | ||
| 18 | // Initalize our diagnostics, which can be used for reporting useful errors. | 18 | // Initialize our diagnostics, which can be used for reporting useful errors. |
| 19 | // This is optional. You can also pass `.{}` to `clap.parse` if you don't | 19 | // This is optional. You can also pass `.{}` to `clap.parse` if you don't |
| 20 | // care about the extra information `Diagnostics` provides. | 20 | // care about the extra information `Diagnostics` provides. |
| 21 | var diag = clap.Diagnostic{}; | 21 | var diag = clap.Diagnostic{}; |
diff --git a/example/streaming-clap.zig b/example/streaming-clap.zig index cacda56..9d99859 100644 --- a/example/streaming-clap.zig +++ b/example/streaming-clap.zig | |||
| @@ -28,7 +28,7 @@ pub fn main() !void { | |||
| 28 | // Skip exe argument | 28 | // Skip exe argument |
| 29 | _ = iter.next(); | 29 | _ = iter.next(); |
| 30 | 30 | ||
| 31 | // Initalize our diagnostics, which can be used for reporting useful errors. | 31 | // Initialize our diagnostics, which can be used for reporting useful errors. |
| 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{}; |