summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9675d30..3ef6527 100644
--- a/README.md
+++ b/README.md
@@ -407,7 +407,7 @@ pub fn main() !void {
407 // `clap.usageToFile` is a function that can print a simple usage string. It can print any 407 // `clap.usageToFile` is a function that can print a simple usage string. It can print any
408 // `Param` where `Id` has a `value` method (`Param(Help)` is one such parameter). 408 // `Param` where `Id` has a `value` method (`Param(Help)` is one such parameter).
409 if (res.args.help != 0) 409 if (res.args.help != 0)
410 return clap.usage(.stdout(), clap.Help, &params); 410 return clap.usageToFile(.stdout(), clap.Help, &params);
411} 411}
412 412
413const clap = @import("clap"); 413const clap = @import("clap");