mirror of
https://github.com/NilsIrl/dockerc.git
synced 2025-12-24 13:18:19 +08:00
Improve help message
This commit is contained in:
@@ -57,7 +57,7 @@ pub fn main() !void {
|
||||
defer res.deinit();
|
||||
|
||||
if (res.args.help != 0) {
|
||||
debug.print("help message\n", .{});
|
||||
try clap.help(io.getStdErr().writer(), clap.Help, ¶ms, .{});
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -73,6 +73,7 @@ pub fn main() !void {
|
||||
}
|
||||
|
||||
if (missing_args) {
|
||||
debug.print("--help for usage\n", .{});
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user