diff --git a/apps/vscode-wing/src/bin-helper.ts b/apps/vscode-wing/src/bin-helper.ts index 3fbc9b1a7f6..be11338b6ce 100644 --- a/apps/vscode-wing/src/bin-helper.ts +++ b/apps/vscode-wing/src/bin-helper.ts @@ -39,7 +39,7 @@ async function guidedWingInstallation() { export async function updateStatusBar(wingBin: string) { let version = "not found"; try { - version = await executeCommand(`"${wingBin}" -V --no-update-check`); + version = await executeCommand(`"${wingBin}" --version --no-update-check`); } catch (e) { Loggers.default.appendLine( `Failed to get wing version from ${wingBin}: ${e}` diff --git a/tools/hangar/src/benchmarking/cli.bench.ts b/tools/hangar/src/benchmarking/cli.bench.ts index 95cf88979be..49e7ef67859 100644 --- a/tools/hangar/src/benchmarking/cli.bench.ts +++ b/tools/hangar/src/benchmarking/cli.bench.ts @@ -15,7 +15,7 @@ describe("compile", async () => { bench("version", async () => { await runWingCommand({ cwd: benchmarksTestDir, - args: ["-V"], + args: ["--version"], expectFailure: false, }); });