diff --git a/src/Config.zig b/src/Config.zig index 9683ae92..660624fb 100644 --- a/src/Config.zig +++ b/src/Config.zig @@ -235,7 +235,6 @@ const Commands = cli.Builder(.{ .shared_options = CommonOptions, }, .{ .name = "version", .options = .{} }, - .{ .name = "help", .positional = .{ .name = "subcommand", .type = ?[]const u8 }, .options = .{} }, }); pub const RunMode = Commands.Enum; @@ -588,394 +587,53 @@ pub const HttpHeaders = struct { } }; -pub fn printUsageAndExit(self: *const Config, success: bool) void { - // MAX_HELP_LEN| - const common_options = - \\ - \\--insecure-disable-tls-host-verification - \\ Disables host verification on all HTTP requests. This is an - \\ advanced option which should only be set if you understand - \\ and accept the risk of disabling host verification. - \\ - \\--obey-robots - \\ Fetches and obeys the robots.txt (if available) of the web pages - \\ we make requests towards. - \\ Defaults to false. - \\ - \\--disable-subframes - \\ Skip loading