authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-12-24 18:42:26-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-01-01 17:51:21-07:00
log24eec48f60c2002e491d78a5c199a4c39d50e48a
tree25dd6b495248c30e89dd72ba2f1875f965ef2adc
parent9141e1a29c8e1b3334a1ea3cdf85fe6df9cac2b4

CLI: update main usage text

* Organize and reword some stuff * Add missing usage for `zig reduce`

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

src/main.zig+5-3
......@@ -87,13 +87,15 @@ const normal_usage =
8787 \\ fetch Copy a package into global cache and print its hash
8888 \\ init Initialize a Zig package in the current directory
8989 \\
90 \\ ast-check Look for simple compile errors in any set of files
9190 \\ build-exe Create executable from source or object files
9291 \\ build-lib Create library from source or object files
9392 \\ build-obj Create object from source or object files
94 \\ fmt Reformat Zig source into canonical form
93 \\ test Perform unit testing
9594 \\ run Create executable and run immediately
96 \\ test Create and run a test build
95 \\
96 \\ ast-check Look for simple compile errors in any set of files
97 \\ fmt Reformat Zig source into canonical form
98 \\ reduce Minimize a bug report
9799 \\ translate-c Convert C code to Zig code
98100 \\
99101 \\ ar Use Zig as a drop-in archiver