test: Added missing tests.

This commit is contained in:
2026-06-14 22:08:04 -04:00
parent 3db86f0d2e
commit e23ea960d7
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