diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-12-24 18:42:26 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-01-01 17:51:21 -0700 |
| commit | 24eec48f60c2002e491d78a5c199a4c39d50e48a (patch) | |
| tree | 25dd6b495248c30e89dd72ba2f1875f965ef2adc /src/main.zig | |
| parent | 9141e1a29c8e1b3334a1ea3cdf85fe6df9cac2b4 (diff) | |
| download | zig-24eec48f60c2002e491d78a5c199a4c39d50e48a.tar.gz zig-24eec48f60c2002e491d78a5c199a4c39d50e48a.zip | |
CLI: update main usage text
* Organize and reword some stuff
* Add missing usage for `zig reduce`
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main.zig b/src/main.zig index 50743b92f0..1811399da3 100644 --- a/src/main.zig +++ b/src/main.zig @@ -87,13 +87,15 @@ const normal_usage = \\ fetch Copy a package into global cache and print its hash \\ init Initialize a Zig package in the current directory \\ - \\ ast-check Look for simple compile errors in any set of files \\ build-exe Create executable from source or object files \\ build-lib Create library from source or object files \\ build-obj Create object from source or object files - \\ fmt Reformat Zig source into canonical form + \\ test Perform unit testing \\ run Create executable and run immediately - \\ test Create and run a test build + \\ + \\ ast-check Look for simple compile errors in any set of files + \\ fmt Reformat Zig source into canonical form + \\ reduce Minimize a bug report \\ translate-c Convert C code to Zig code \\ \\ ar Use Zig as a drop-in archiver |
