From 4786e1f6bd37d3242442d6f0cf2bb81d3e1b34e1 Mon Sep 17 00:00:00 2001 From: prajwalch Date: Mon, 9 Sep 2024 06:36:52 +0545 Subject: [PATCH] refactor(App): Update doc comment for `rootCommand()` Signed-off-by: prajwalch --- src/App.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App.zig b/src/App.zig index bd1c5b6..cb6511c 100644 --- a/src/App.zig +++ b/src/App.zig @@ -78,6 +78,7 @@ pub fn createCommand(self: *App, name: []const u8, description: ?[]const u8) Com /// defer app.deinit(); /// /// var root = app.rootCommand(); +/// root.addProperty(.help_on_empty_args); /// /// // Add arguments and subcommands using `root`. /// ```