authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-11-29 16:32:24-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-11-29 16:32:24-07:00
log3fb0cc0a14df149da5a5b69d7c5065ffade8ddb5
tree84fb36be5d8027a52146364262f0e4ca11112a57
parent263f25fea691b0f52aa852909c317a6f27d21cf0

CLI: add missing usage help text


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

src/main.zig+11-5
......@@ -280,6 +280,10 @@ const usage_build_generic =
280280 \\ -fno-valgrind Omit valgrind client requests in debug builds
281281 \\ -fdll-export-fns Mark exported functions as DLL exports (Windows)
282282 \\ -fno-dll-export-fns Force-disable marking exported functions as DLL exports
283 \\ -fLLVM Force using LLVM as the codegen backend
284 \\ -fno-LLVM Prevent using LLVM as a codegen backend
285 \\ -fClang Force using Clang as the C/C++ compilation backend
286 \\ -fno-Clang Prevent using Clang as the C/C++ compilation backend
283287 \\ --strip Omit debug symbols
284288 \\ --single-threaded Code assumes it is only used single-threaded
285289 \\ -ofmt=[mode] Override target object format
......@@ -306,8 +310,10 @@ const usage_build_generic =
306310 \\ --version-script [path] Provide a version .map file
307311 \\ --dynamic-linker [path] Set the dynamic interpreter path (usually ld.so)
308312 \\ --version [ver] Dynamic library semver
309 \\ -fsoname[=name] (linux) Override the default SONAME value
310 \\ -fno-soname (linux) Disable emitting a SONAME
313 \\ -fsoname[=name] (Linux) Override the default SONAME value
314 \\ -fno-soname (Linux) Disable emitting a SONAME
315 \\ -fLLD Force using LLD as the linker
316 \\ -fno-LLD Prevent using LLD as the linker
311317 \\ -rdynamic Add all symbols to the dynamic symbol table
312318 \\ -rpath [path] Add directory to the runtime library search path
313319 \\ -feach-lib-rpath Ensure adding rpath for each used dynamic library
......@@ -317,11 +323,11 @@ const usage_build_generic =
317323 \\ -dynamic Force output to be dynamically linked
318324 \\ -static Force output to be statically linked
319325 \\ -Bsymbolic Bind global references locally
320 \\ --subsystem [subsystem] (windows) /SUBSYSTEM:<subsystem> to the linker\n"
326 \\ --subsystem [subsystem] (Windows) /SUBSYSTEM:<subsystem> to the linker\n"
321327 \\ --stack [size] Override default stack size
322328 \\ --image-base [addr] Set base address for executable image
323 \\ -framework [name] (darwin) link against framework
324 \\ -F[dir] (darwin) add search path for frameworks
329 \\ -framework [name] (Darwin) link against framework
330 \\ -F[dir] (Darwin) add search path for frameworks
325331 \\
326332 \\Test Options:
327333 \\ --test-filter [text] Skip tests that do not match filter