Skip to content

Commit

Permalink
feat: add -v as short handle
Browse files Browse the repository at this point in the history
  • Loading branch information
hendriknielaender committed Dec 5, 2024
1 parent a9c3a99 commit 5313830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command.zig
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const command_opts = [_]CommandOption{
.{ .short_handle = "i", .handle = "install", .cmd = Command.Install },
.{ .short_handle = "u", .handle = "use", .cmd = Command.Use },
.{ .short_handle = "rm", .handle = "remove", .cmd = Command.Remove },
.{ .short_handle = null, .handle = "--version", .cmd = Command.Version },
.{ .short_handle = "-v", .handle = "--version", .cmd = Command.Version },
.{ .short_handle = null, .handle = "--help", .cmd = Command.Help },
};

Expand Down

0 comments on commit 5313830

Please sign in to comment.