Skip to content

Commit 0dcf469

Browse files
committed
Add @Version information to --help
This mimics a recent change in VS Code's help. See #1965.
1 parent 7d02f34 commit 0dcf469

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/node/cli.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,11 @@ const options: Options<Required<Args>> = {
125125
"extra-builtin-extensions-dir": { type: "string[]", path: true },
126126
"list-extensions": { type: "boolean", description: "List installed VS Code extensions." },
127127
force: { type: "boolean", description: "Avoid prompts when installing VS Code extensions." },
128-
"install-extension": { type: "string[]", description: "Install or update a VS Code extension by id or vsix." },
128+
"install-extension": {
129+
type: "string[]",
130+
description:
131+
"Install or update a VS Code extension by id or vsix. The identifier of an extension is `${publisher}.${name}`. To install a specific version provide `@${version}`. For example: '[email protected]'.",
132+
},
129133
"uninstall-extension": { type: "string[]", description: "Uninstall a VS Code extension by id." },
130134
"show-versions": { type: "boolean", description: "Show VS Code extension versions." },
131135
"proxy-domain": { type: "string[]", description: "Domain used for proxying ports." },

0 commit comments

Comments
 (0)