From 7e3293fc20592bf978b3cb9ceeeb0d88590b2909 Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Thu, 29 Jun 2017 16:08:30 +0100 Subject: Fix `odin version` printing --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index c3923b5d0..ff562d5c6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -375,7 +375,7 @@ int main(int arg_count, char **arg_ptr) { return 1; #endif } else if (args[1] == "version") { - gb_printf("%s version %.*s\n", args[0], LIT(build_context.ODIN_VERSION)); + gb_printf("%.*s version %.*s\n", LIT(args[0]), LIT(build_context.ODIN_VERSION)); return 0; } else { usage(args[0]); -- cgit v1.2.3