aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-06-29 16:08:30 +0100
committerGinger Bill <bill@gingerbill.org>2017-06-29 16:08:30 +0100
commit7e3293fc20592bf978b3cb9ceeeb0d88590b2909 (patch)
tree828bc9f08f30db126598eea500f8b014564d3ca8 /src/main.cpp
parente4a82833275acc166313ff11613bcc748309571a (diff)
Fix `odin version` printing
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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]);