diff --git a/src/main.zig b/src/main.zig index 401f6b2296..ce04a92765 100644 --- a/src/main.zig +++ b/src/main.zig @@ -6956,6 +6956,16 @@ const usage_fetch = \\Usage: zig fetch [options] \\ \\ Copy a package into the global cache and print its hash. + \\ must point to one of the following: + \\ - A git+http / git+https server for the package + \\ - A tarball file (with or without compression) containing + \\ package source + \\ - A git bundle file containing package source + \\ + \\Examples: + \\ + \\ zig fetch --save git+https://example.com/andrewrk/fun-example-tool.git + \\ zig fetch --save https://example.com/andrewrk/fun-example-tool/archive/refs/heads/master.tar.gz \\ \\Options: \\ -h, --help Print this help and exit