Lightpanda: the headless browser designed for AI and automation
`update`: add `help` command entry for `update`
Halil Durakbe8628f235df
diff --git a/src/Config.zig b/src/Config.zigindex 9c2051ebf..2ffa5fec3 100644--- a/src/Config.zig+++ b/src/Config.zig@@ -692,7 +692,7 @@ pub fn printUsageAndExit(self: *const Config, help_for: RunMode, success: bool), .{Help.general});std.debug.print(template, .{exec_name});},- inline .fetch, .serve, .mcp, .agent => |tag| {+ inline .fetch, .serve, .mcp, .agent, .update => |tag| {const template = comptimePrint(\\{s}\\@@ -701,7 +701,6 @@ pub fn printUsageAndExit(self: *const Config, help_for: RunMode, success: bool), .{ @field(Help, @tagName(tag)), Help.common_options });std.debug.print(template, .{ exec_name, info_or_warn, pretty_or_logfmt });},- .update => @panic("TODO"),.version => {const template = Help.version ++ "\n";std.debug.print(template, .{exec_name});diff --git a/src/help.zon b/src/help.zonindex 2be7e812f..2622c655e 100644--- a/src/help.zon+++ b/src/help.zon@@ -237,6 +237,12 @@\\MISTRAL_API_KEY. The local servers (Ollama, llama.cpp) do not require an\\API key.,+ .update =+ \\usage: {0s} update [COMMON_OPTIONS]+ \\+ \\Checks whether a newer release of {0s} is available. When one is found,+ \\prints the running version, the latest release, and how to update.+ ,.version =\\usage: {0s} version\\