From 0c4dcb12b93d88028c032d76241aac83b0958efd Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 14 Aug 2026 19:36:29 -0700 Subject: [PATCH] CLI: move help for --dep to correct section --- src/main.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.zig b/src/main.zig index e25a96714ae8e903fdfd016af0fb3be7d30bda7f..d2068b8cdbb6a53f63dd28ac667503f7495e777e 100644 --- a/src/main.zig +++ b/src/main.zig @@ -568,13 +568,12 @@ const usage_build_generic = \\ \\Global Compile Options: \\ --name [name] Compilation unit name (not a file path) - \\ --libc [file] Provide a file which specifies libc paths - \\ -x language Treat subsequent input files as having type - \\ --dep [[import=]name] Add an entry to the next module's import table \\ -M[name][=src] Create a module based on the current per-module settings. \\ The first module is the main module. \\ "std" can be configured by omitting src \\ After a -M argument, per-module settings are reset. + \\ --libc [file] Provide a file which specifies libc paths + \\ -x [language] Treat subsequent input files as having type \\ --error-limit [num] Set the maximum amount of distinct error values \\ -fllvm Force using LLVM as the codegen backend \\ -fno-llvm Prevent using LLVM as the codegen backend @@ -599,6 +598,7 @@ const usage_build_generic = \\ --time-report Send timing diagnostics to '--listen' clients \\ \\Per-Module Compile Options: + \\ --dep [[import=]name] Add an entry to the next module's import table \\ -target [name] -- see the targets command \\ -O [mode] Choose what to optimize for \\ debug (default) Prioritize bug detection, accurate debug info, compilation speed -- 2.54.0