summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jimmi Holst Christensen2020-11-21 17:01:33 +0100
committerGravatar Jimmi Holst Christensen2020-11-21 17:01:33 +0100
commite83c036aba12022fbe91ba8d5028df9a1d6a24d5 (patch)
treede7d083abc0ed81f9e6616e92d70fdb8c65d0988
parentMerge branch 'master' into zig-master (diff)
downloadzig-clap-e83c036aba12022fbe91ba8d5028df9a1d6a24d5.tar.gz
zig-clap-e83c036aba12022fbe91ba8d5028df9a1d6a24d5.tar.xz
zig-clap-e83c036aba12022fbe91ba8d5028df9a1d6a24d5.zip
Fix spelling error
-rw-r--r--clap/args.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/clap/args.zig b/clap/args.zig
index 2868050..f9ad218 100644
--- a/clap/args.zig
+++ b/clap/args.zig
@@ -142,7 +142,7 @@ pub const ShellIterator = struct {
142 142
143 // The state that parses the none quoted part of a argument. 143 // The state that parses the none quoted part of a argument.
144 .no_quote => switch (c) { 144 .no_quote => switch (c) {
145 // We are doing parsing a none quoted argument when we hit a 145 // We're done parsing a none quoted argument when we hit a
146 // whitespace. 146 // whitespace.
147 ' ', '\t', '\n' => { 147 ' ', '\t', '\n' => {
148 defer iter.str = iter.str[i..]; 148 defer iter.str = iter.str[i..];