Skip to content

Commit 7cbabc4

Browse files
committed
Improve help message
1 parent 63beb15 commit 7cbabc4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dockerc.zig

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub fn main() !void {
5757
defer res.deinit();
5858

5959
if (res.args.help != 0) {
60-
debug.print("help message\n", .{});
60+
try clap.help(io.getStdErr().writer(), clap.Help, &params, .{});
6161
return;
6262
}
6363

@@ -73,6 +73,7 @@ pub fn main() !void {
7373
}
7474

7575
if (missing_args) {
76+
debug.print("--help for usage\n", .{});
7677
return;
7778
}
7879

0 commit comments

Comments
 (0)