From ae3eb20d19fc5af477cbda7e982e92dab42ba368 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 9 Apr 2024 01:38:31 +0200 Subject: [PATCH] Add `-u` alias to `bun test` Fixes: https://github.com/oven-sh/bun/issues/10073 --- src/cli.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.zig b/src/cli.zig index c62ea916d6a84e..061629e828db15 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -237,7 +237,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,