Skip to content

Commit 5287758

Browse files
Anil-matchaclaude
andcommitted
fix: pass argv0=muapi so help header shows correct name
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0b5a871 commit 5287758

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

npm/bin/muapi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@ if (!binPath || !fs.existsSync(binPath)) {
2727
process.exit(1);
2828
}
2929

30-
const result = spawnSync(binPath, process.argv.slice(2), { stdio: "inherit" });
30+
const result = spawnSync(binPath, process.argv.slice(2), {
31+
stdio: "inherit",
32+
argv0: "muapi",
33+
});
3134
process.exit(result.status ?? 1);

0 commit comments

Comments
 (0)