diff options
Diffstat (limited to 'src/remove.zig')
| -rw-r--r-- | src/remove.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remove.zig b/src/remove.zig index bc5b06a..fb53d06 100644 --- a/src/remove.zig +++ b/src/remove.zig | |||
| @@ -16,7 +16,7 @@ pub const max_args = 1; | |||
| 16 | pub fn main(comptime Result: type, config: Config, res: Result) !void { | 16 | pub fn main(comptime Result: type, config: Config, res: Result) !void { |
| 17 | const allocator = config.allocator; | 17 | const allocator = config.allocator; |
| 18 | 18 | ||
| 19 | const name = res.positionals[0]; | 19 | const name = res.positionals[0].?; |
| 20 | 20 | ||
| 21 | if (!try Installation.isInstalled(allocator, name)) { | 21 | if (!try Installation.isInstalled(allocator, name)) { |
| 22 | std.log.err("{s} is not installed!", .{name}); | 22 | std.log.err("{s} is not installed!", .{name}); |