test: Added missing tests.

This commit is contained in:
2026-06-14 22:08:04 -04:00
parent 46c2baf726
commit e6f09a037b
27 changed files with 862 additions and 74 deletions

View File

@@ -55,8 +55,7 @@ COMMANDS := []CommandInfo {
},
}
parse_args :: proc() -> (cmd: Command, ok: bool) {
args := os.args
parse_args :: proc(args: []string) -> (cmd: Command, ok: bool) {
if len(args) < 2 || args[1] == "--help" || args[1] == "-h" {
print_usage()
return Command{}, false