authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-08-14 19:36:29-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-08-19 12:39:36-07:00
log0c4dcb12b93d88028c032d76241aac83b0958efd
tree9b1ae412a494412028abe42ab79aeb5badb65b7b
parent9df1d1e5ed8d8f98f4794087e5dee5d2a1b0605e

CLI: move help for --dep to correct section


1 files changed, 3 insertions(+), 3 deletions(-)

src/main.zig+3-3
......@@ -568,13 +568,12 @@ const usage_build_generic =
568568 \\
569569 \\Global Compile Options:
570570 \\ --name [name] Compilation unit name (not a file path)
571 \\ --libc [file] Provide a file which specifies libc paths
572 \\ -x language Treat subsequent input files as having type <language>
573 \\ --dep [[import=]name] Add an entry to the next module's import table
574571 \\ -M[name][=src] Create a module based on the current per-module settings.
575572 \\ The first module is the main module.
576573 \\ "std" can be configured by omitting src
577574 \\ After a -M argument, per-module settings are reset.
575 \\ --libc [file] Provide a file which specifies libc paths
576 \\ -x [language] Treat subsequent input files as having type <language>
578577 \\ --error-limit [num] Set the maximum amount of distinct error values
579578 \\ -fllvm Force using LLVM as the codegen backend
580579 \\ -fno-llvm Prevent using LLVM as the codegen backend
......@@ -599,6 +598,7 @@ const usage_build_generic =
599598 \\ --time-report Send timing diagnostics to '--listen' clients
600599 \\
601600 \\Per-Module Compile Options:
601 \\ --dep [[import=]name] Add an entry to the next module's import table
602602 \\ -target [name] <arch><sub>-<os>-<abi> see the targets command
603603 \\ -O [mode] Choose what to optimize for
604604 \\ debug (default) Prioritize bug detection, accurate debug info, compilation speed