Delete version options

This commit is contained in:
sadick254 2020-09-23 12:30:08 +03:00
parent f0b809a2ec
commit cb448307b6

View File

@ -112,10 +112,6 @@ module.exports = function parseCommandLine(processArgs) {
'timeout', 'timeout',
'When in test mode, waits until the specified time (in minutes) and kills the process (exit code: 130).' '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 options
.alias('w', 'wait') .alias('w', 'wait')
.boolean('w') .boolean('w')
@ -152,16 +148,6 @@ module.exports = function parseCommandLine(processArgs) {
process.exit(0); 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 addToLastWindow = args['add'];
const safeMode = args['safe']; const safeMode = args['safe'];
const benchmark = args['benchmark']; const benchmark = args['benchmark'];