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 =...@@ -87,13 +87,15 @@ const normal_usage =
87 \\ fetch Copy a package into global cache and print its hash87 \\ fetch Copy a package into global cache and print its hash
88 \\ init Initialize a Zig package in the current directory88 \\ init Initialize a Zig package in the current directory
89 \\89 \\
90 \\ ast-check Look for simple compile errors in any set of files
91 \\ build-exe Create executable from source or object files90 \\ build-exe Create executable from source or object files
92 \\ build-lib Create library from source or object files91 \\ build-lib Create library from source or object files
93 \\ build-obj Create object from source or object files92 \\ build-obj Create object from source or object files
94 \\ fmt Reformat Zig source into canonical form93 \\ test Perform unit testing
95 \\ run Create executable and run immediately94 \\ run Create executable and run immediately
96 \\ test Create and run a test build95 \\
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
97 \\ translate-c Convert C code to Zig code99 \\ translate-c Convert C code to Zig code
98 \\100 \\
99 \\ ar Use Zig as a drop-in archiver101 \\ ar Use Zig as a drop-in archiver