From b70458c3e4cb237c194d6ce483b80d11b43d5118 Mon Sep 17 00:00:00 2001 From: Viktor L <43538653+vktrl@users.noreply.github.com> Date: Thu, 15 Aug 2024 10:31:29 +0300 Subject: [PATCH] Fix "bun exec" examples (#13318) --- src/cli.zig | 4 ++-- test/js/bun/shell/exec.test.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cli.zig b/src/cli.zig index 93c699b2fcc9ce..71c4551ca2ab30 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -2389,8 +2389,8 @@ pub const Command = struct { \\Note: If executing this from a shell, make sure to escape the string! \\ \\Examples: - \\ bunx exec "echo hi" - \\ bunx exec "echo \"hey friends\"!" + \\ bun exec "echo hi" + \\ bun exec "echo \"hey friends\"!" \\ , .{}); Output.flush(); diff --git a/test/js/bun/shell/exec.test.ts b/test/js/bun/shell/exec.test.ts index cd6b07416199bc..6b71208b2f077f 100644 --- a/test/js/bun/shell/exec.test.ts +++ b/test/js/bun/shell/exec.test.ts @@ -19,7 +19,7 @@ describe("bun exec", () => { TestBuilder.command`${BUN} exec` .env(bunEnv) .stdout( - 'Usage: bun exec