Remove --socket-path CLI argument

This commit is contained in:
Rafael Oleza
2019-04-04 17:55:58 +02:00
parent b50818e773
commit f04a00ac2d
3 changed files with 0 additions and 16 deletions

View File

@@ -1390,7 +1390,6 @@ class AtomApplication extends EventEmitter {
const args = []
if (this.safeMode) args.push('--safe')
if (this.logFile != null) args.push(`--log-file=${this.logFile}`)
if (this.socketPath != null) args.push(`--socket-path=${this.socketPath}`)
if (this.userDataDir != null) args.push(`--user-data-dir=${this.userDataDir}`)
if (this.devMode) {
args.push('--dev')

View File

@@ -58,7 +58,6 @@ module.exports = function parseCommandLine (processArgs) {
options.alias('v', 'version').boolean('v').describe('v', 'Print the version information.')
options.alias('w', 'wait').boolean('w').describe('w', 'Wait for window to be closed before returning.')
options.alias('a', 'add').boolean('a').describe('add', 'Open path as a new project in last used window.')
options.string('socket-path')
options.string('user-data-dir')
options.boolean('clear-window-state').describe('clear-window-state', 'Delete all Atom environment state.')
options.boolean('enable-electron-logging').describe('enable-electron-logging', 'Enable low-level logging messages from Electron.')
@@ -121,7 +120,6 @@ module.exports = function parseCommandLine (processArgs) {
}
const logFile = args['log-file']
const socketPath = args['socket-path']
const userDataDir = args['user-data-dir']
const profileStartup = args['profile-startup']
const clearWindowState = args['clear-window-state']
@@ -158,7 +156,6 @@ module.exports = function parseCommandLine (processArgs) {
safeMode,
newWindow,
logFile,
socketPath,
userDataDir,
profileStartup,
timeout,