mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
Delete version options
This commit is contained in:
parent
f0b809a2ec
commit
cb448307b6
@ -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'];
|
||||||
|
Loading…
Reference in New Issue
Block a user