From 666435195fff867417f92e1b4f8ef7e0608470ee Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 19 Apr 2017 04:36:48 -0400 Subject: [PATCH] update zig build help text when no build.zig found --- src/main.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 058fa7a884799b3b6ba520e59b925b4432034cce..044ac11517263fe92c06d49949f089fa19f56981 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -217,11 +217,14 @@ int main(int argc, char **argv) { "Usage: %s build [options]\n" "\n" "General Options:\n" - " --help Print this help and exit.\n" - " --build-file [file] Override path to build.zig.\n" - " --verbose Print commands before executing them.\n" - " --debug-build-verbose Print verbose debugging information for the build system itself.\n" - " --prefix [prefix] Override default install prefix.\n" + " --help Print this help and exit\n" + " --build-file [file] Override path to build.zig\n" + " --verbose Print commands before executing them\n" + " --debug-build-verbose Print verbose debugging information for the build system itself\n" + " --prefix [prefix] Override default install prefix\n" + "\n" + "More options become available when the build file is found.\n" + "Run this command with no options to generate a build.zig template.\n" , zig_exe_path); return 0; } -- 2.54.0