diff --git a/src/main-process/parse-command-line.js b/src/main-process/parse-command-line.js index f35d151a9..90963a1c4 100644 --- a/src/main-process/parse-command-line.js +++ b/src/main-process/parse-command-line.js @@ -112,10 +112,6 @@ module.exports = function parseCommandLine(processArgs) { 'timeout', 'When in test mode, waits until the specified time (in minutes) and kills the process (exit code: 130).' ); - options - .alias('v', 'version') - .boolean('v') - .describe('v', 'Print the version information.'); options .alias('w', 'wait') .boolean('w') @@ -152,16 +148,6 @@ module.exports = function parseCommandLine(processArgs) { process.exit(0); } - if (args.version) { - process.stdout.write( - `Atom : ${app.getVersion()}\n` + - `Electron: ${process.versions.electron}\n` + - `Chrome : ${process.versions.chrome}\n` + - `Node : ${process.versions.node}\n` - ); - process.exit(0); - } - const addToLastWindow = args['add']; const safeMode = args['safe']; const benchmark = args['benchmark'];