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 =...@@ -568,13 +568,12 @@ const usage_build_generic =
568 \\568 \\
569 \\Global Compile Options:569 \\Global Compile Options:
570 \\ --name [name] Compilation unit name (not a file path)570 \\ --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
574 \\ -M[name][=src] Create a module based on the current per-module settings.571 \\ -M[name][=src] Create a module based on the current per-module settings.
575 \\ The first module is the main module.572 \\ The first module is the main module.
576 \\ "std" can be configured by omitting src573 \\ "std" can be configured by omitting src
577 \\ After a -M argument, per-module settings are reset.574 \\ 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>
578 \\ --error-limit [num] Set the maximum amount of distinct error values577 \\ --error-limit [num] Set the maximum amount of distinct error values
579 \\ -fllvm Force using LLVM as the codegen backend578 \\ -fllvm Force using LLVM as the codegen backend
580 \\ -fno-llvm Prevent using LLVM as the codegen backend579 \\ -fno-llvm Prevent using LLVM as the codegen backend
...@@ -599,6 +598,7 @@ const usage_build_generic =...@@ -599,6 +598,7 @@ const usage_build_generic =
599 \\ --time-report Send timing diagnostics to '--listen' clients598 \\ --time-report Send timing diagnostics to '--listen' clients
600 \\599 \\
601 \\Per-Module Compile Options:600 \\Per-Module Compile Options:
601 \\ --dep [[import=]name] Add an entry to the next module's import table
602 \\ -target [name] <arch><sub>-<os>-<abi> see the targets command602 \\ -target [name] <arch><sub>-<os>-<abi> see the targets command
603 \\ -O [mode] Choose what to optimize for603 \\ -O [mode] Choose what to optimize for
604 \\ debug (default) Prioritize bug detection, accurate debug info, compilation speed604 \\ debug (default) Prioritize bug detection, accurate debug info, compilation speed