ls but with io_uring

opts: no-op on human-readable

authored by

Joshua Park and committed by rockorager.dev 2f8e1f0d 266579d3

verified
+3
+3
src/main.zig
··· 167 167 'A' => cmd.opts.@"almost-all" = true, 168 168 'C' => cmd.opts.shortview = .columns, 169 169 'a' => cmd.opts.all = true, 170 + 'h' => {}, // human-readable: present for compatibility 170 171 'l' => cmd.opts.long = true, 171 172 'r' => cmd.opts.reverse_sort = true, 172 173 't' => cmd.opts.sort_by_mod_time = true, ··· 206 207 try stderr.print("Invalid color option: '{s}'", .{val}); 207 208 std.process.exit(1); 208 209 }; 210 + } else if (eql(opt, "human-readable")) { 211 + // no-op: present for compatibility 209 212 } else if (eql(opt, "hyperlinks")) { 210 213 cmd.opts.hyperlinks = std.meta.stringToEnum(Options.When, val) orelse { 211 214 try stderr.print("Invalid hyperlinks option: '{s}'", .{val});