aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-01-25 23:25:29 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-01-25 23:25:29 -0500
commit9dffc369f1720fabb0a996b5af3c67fe3e4fd830 (patch)
tree409a609e55426c864bfe8a336fc0fa7e06e8f35a /src/main.cpp
parentfbfda7f00edbbf4eb623898d53c3faf43ab874ce (diff)
parent4e9b1f5479e3b7ce47d059e0e6f3d62cd4ee7254 (diff)
downloadzig-9dffc369f1720fabb0a996b5af3c67fe3e4fd830.tar.gz
zig-9dffc369f1720fabb0a996b5af3c67fe3e4fd830.zip
Merge remote-tracking branch 'origin/master' into layneson-cpus_and_features
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 512b7a9b0c..a844730014 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -144,15 +144,15 @@ static int print_libc_usage(const char *arg0, FILE *file, int return_code) {
"You can save this into a file and then edit the paths to create a cross\n"
"compilation libc kit. Then you can pass `--libc [file]` for Zig to use it.\n"
"\n"
- "When compiling natively and no `--libc` argument provided, Zig automatically\n"
- "creates zig-cache/native_libc.txt so that it does not have to detect libc\n"
- "on every invocation. You can remove this file to have Zig re-detect the\n"
- "native libc.\n"
+ "When compiling natively and no `--libc` argument provided, Zig will create\n"
+ "`%s/native_libc.txt`\n"
+ "so that it does not have to detect libc on every invocation. You can remove\n"
+ "this file to have Zig re-detect the native libc.\n"
"\n\n"
"Usage: %s libc [file]\n"
"\n"
"Parse a libc installation text file and validate it.\n"
- , arg0, arg0);
+ , arg0, buf_ptr(get_global_cache_dir()), arg0);
return return_code;
}