From a43867dd7d02937a233a039eec7c7f43977b0b0c Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Tue, 22 Jul 2025 05:56:17 +0300 Subject: Release 0.6.0 --- src/switch.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/switch.zig') diff --git a/src/switch.zig b/src/switch.zig index 3323332..891c4e0 100644 --- a/src/switch.zig +++ b/src/switch.zig @@ -13,7 +13,7 @@ pub const max_args = 1; pub fn main(comptime Result: type, config: Config, res: Result) !void { const allocator = config.allocator; - const name = res.positionals[0]; + const name = res.positionals[0].?; if (!try Installation.isInstalled(allocator, name)) { std.log.err( "No installation by name {s} found, run `zup install {s}`", -- cgit v1.2.3