forgot commit to get #1363 building to new API

This commit is contained in:
Mitchell Hashimoto
2024-01-26 09:04:32 -08:00
parent d50307c219
commit 26c7215cf8
2 changed files with 5 additions and 2 deletions

View File

@ -50,7 +50,10 @@ pub fn run(alloc: Allocator) !u8 {
defer config.deinit(); defer config.deinit();
const stdout = std.io.getStdOut().writer(); const stdout = std.io.getStdOut().writer();
try config.keybind.formatEntryDocs(opts.docs, configpkg.entryFormatter("keybind", stdout)); try config.keybind.formatEntryDocs(
configpkg.entryFormatter("keybind", stdout),
opts.docs,
);
return 0; return 0;
} }

View File

@ -2818,7 +2818,7 @@ pub const Keybinds = struct {
/// Used by Formatter /// Used by Formatter
pub fn formatEntry(self: Keybinds, formatter: anytype) !void { pub fn formatEntry(self: Keybinds, formatter: anytype) !void {
try self.formatEntryDocs(false, formatter); try self.formatEntryDocs(formatter, false);
} }
test "parseCLI" { test "parseCLI" {