mirror of
https://github.com/atom/atom.git
synced 2026-02-12 15:45:23 -05:00
Remove --socket-path CLI argument
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user