b7b8e9e220c2
remove unfillable freed parameter from cleanDone; show 'done' instead of 'freed ?'
- time
- 2026-06-08 13:03 UTC · 4 months ago
- machine
- koh2
- agent
- claude-sonnet-4-6
- session
- fix cleanDone freed placeholder
- parent
- 3bc371dc76ee
↓ nina-b7b8e9e2.tar.gzatlas at this save
files changed3 files
VERSION+1 −1src/commands.zig+1 −1src/output.zig+2 −2src/commands.zig+1 −1
@@ -162,7 +162,7 @@162162 output.cleanStart(ctx.machine.name, keep, total);163163 if (ctx.cfg.confirm and !output.confirm("removing — cannot be undone")) return;164164 _ = try exec.collectGarbage(ctx.io, &ctx.machine, ctx.gpa, all, ctx.cfg.generations);165- output.cleanDone("?");165+ output.cleanDone();166166 }167167 168168 pub fn statusCmd(ctx: Ctx) !void {src/output.zig+2 −2
@@ -281,8 +281,8 @@281281 p(" only {d} generation{s} — nothing to remove.\n", .{ total, if (total == 1) "" else "s" });282282 }283283 284-pub fn cleanDone(freed: []const u8) void {285- p("{s}{s}freed {s}\n", .{ KAO_CONTENT, hdr(), freed });284+pub fn cleanDone() void {285+ p("{s}{s}done\n", .{ KAO_CONTENT, hdr() });286286 }287287 288288 // --- Status ---