summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorGravatar Jimmi Holst Christensen2023-01-12 19:49:56 +0100
committerGravatar Jimmi Holst Christensen2023-01-12 19:49:56 +0100
commit6c9ca9025199b145c42a75d10cadb3f97879ee6d (patch)
treeb0095a72a1b087c7319a114f8b8b70f0521c933f /example
parentyear++ (diff)
downloadzig-clap-6c9ca9025199b145c42a75d10cadb3f97879ee6d.tar.gz
zig-clap-6c9ca9025199b145c42a75d10cadb3f97879ee6d.tar.xz
zig-clap-6c9ca9025199b145c42a75d10cadb3f97879ee6d.zip
Fix misspelled things
Diffstat (limited to '')
-rw-r--r--example/simple.zig2
-rw-r--r--example/streaming-clap.zig2
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{};