提交 06d659f3 编写于 作者: Z Zanidd 提交者: João Moreno

Add platform info in code --version #37793 Done (#37824)

* Marked output code-line

* First Idea on where to get the platform

* Add platform info in code --version #37793 Done
上级 2a65a6ff
......@@ -40,7 +40,7 @@ export function main(argv: string[]): TPromise<void> {
if (args.help) {
console.log(buildHelpMessage(product.nameLong, product.applicationName, pkg.version));
} else if (args.version) {
console.log(`${pkg.version}\n${product.commit}`);
console.log(`${pkg.version}\n${product.commit}\n${process.arch}`);
} else if (shouldSpawnCliProcess(args)) {
const mainCli = new TPromise<IMainCli>(c => require(['vs/code/node/cliProcessMain'], c));
return mainCli.then(cli => cli.main(args));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册