diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -46,7 +46,7 @@ pub fn main() !void { | |||
| 46 | \\ | 46 | \\ |
| 47 | ); | 47 | ); |
| 48 | 48 | ||
| 49 | // Initalize our diagnostics, which can be used for reporting useful errors. | 49 | // Initialize our diagnostics, which can be used for reporting useful errors. |
| 50 | // This is optional. You can also pass `.{}` to `clap.parse` if you don't | 50 | // This is optional. You can also pass `.{}` to `clap.parse` if you don't |
| 51 | // care about the extra information `Diagnostics` provides. | 51 | // care about the extra information `Diagnostics` provides. |
| 52 | var diag = clap.Diagnostic{}; | 52 | var diag = clap.Diagnostic{}; |
| @@ -171,7 +171,7 @@ pub fn main() !void { | |||
| 171 | // Skip exe argument | 171 | // Skip exe argument |
| 172 | _ = iter.next(); | 172 | _ = iter.next(); |
| 173 | 173 | ||
| 174 | // Initalize our diagnostics, which can be used for reporting useful errors. | 174 | // Initialize our diagnostics, which can be used for reporting useful errors. |
| 175 | // This is optional. You can also leave the `diagnostic` field unset if you | 175 | // This is optional. You can also leave the `diagnostic` field unset if you |
| 176 | // don't care about the extra information `Diagnostic` provides. | 176 | // don't care about the extra information `Diagnostic` provides. |
| 177 | var diag = clap.Diagnostic{}; | 177 | var diag = clap.Diagnostic{}; |