From f1a748fcab65b024a5f8acb890ab561d98ccf2aa Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 10 Jul 2024 01:53:35 +0200 Subject: [PATCH] Add `-u` alias to `bun test` (#10097) Co-authored-by: Jarred Sumner --- src/cli.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.zig b/src/cli.zig index f4944fbfed0ddd..ee78ee52e6528e 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -244,7 +244,7 @@ pub const Arguments = struct { // TODO: update test completions const test_only_params = [_]ParamType{ clap.parseParam("--timeout Set the per-test timeout in milliseconds, default is 5000.") catch unreachable, - clap.parseParam("--update-snapshots Update snapshot files") catch unreachable, + clap.parseParam("-u, --update-snapshots Update snapshot files") catch unreachable, clap.parseParam("--rerun-each Re-run each test file times, helps catch certain bugs") catch unreachable, clap.parseParam("--only Only run tests that are marked with \"test.only()\"") catch unreachable, clap.parseParam("--todo Include tests that are marked with \"test.todo()\"") catch unreachable,