summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index 5522915..f5b6c1e 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -60,7 +60,7 @@ const CommandMap = blk: {
60 map_data[0] = .{ "--help", .help }; 60 map_data[0] = .{ "--help", .help };
61 map_data[1] = .{ "--version", .version }; 61 map_data[1] = .{ "--version", .version };
62 var idx: usize = 2; 62 var idx: usize = 2;
63 inline for (commands) |command| { 63 for (commands) |command| {
64 map_data[idx] = .{ command.name, @as(Command, @enumFromInt(command.value)) }; 64 map_data[idx] = .{ command.name, @as(Command, @enumFromInt(command.value)) };
65 idx += 1; 65 idx += 1;
66 } 66 }