authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-04-19 04:36:48-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-04-19 04:36:48-04:00
log666435195fff867417f92e1b4f8ef7e0608470ee
treedf79330bf1fab86545916059b4e29ab8d4e817a7
parent35d60eb4e65c38a3c81e3a249de7447017616d02

update zig build help text when no build.zig found


1 files changed, 8 insertions(+), 5 deletions(-)

src/main.cpp+8-5
...@@ -217,11 +217,14 @@ int main(int argc, char **argv) {...@@ -217,11 +217,14 @@ int main(int argc, char **argv) {
217 "Usage: %s build [options]\n"217 "Usage: %s build [options]\n"
218 "\n"218 "\n"
219 "General Options:\n"219 "General Options:\n"
220 " --help Print this help and exit.\n"220 " --help Print this help and exit\n"
221 " --build-file [file] Override path to build.zig.\n"221 " --build-file [file] Override path to build.zig\n"
222 " --verbose Print commands before executing them.\n"222 " --verbose Print commands before executing them\n"
223 " --debug-build-verbose Print verbose debugging information for the build system itself.\n"223 " --debug-build-verbose Print verbose debugging information for the build system itself\n"
224 " --prefix [prefix] Override default install prefix.\n"224 " --prefix [prefix] Override default install prefix\n"
225 "\n"
226 "More options become available when the build file is found.\n"
227 "Run this command with no options to generate a build.zig template.\n"
225 , zig_exe_path);228 , zig_exe_path);
226 return 0;229 return 0;
227 }230 }