Skip to content

ElectronCommandLine.removeSwitch method

ElectronCommandLine › removeSwitch

Unofficial

Removes the specified switch from Chromium's command line.

Signature:

removeSwitch(theSwitch: string): void

Parameters:

Parameter Type Description
theSwitch string The switch to remove.

Returns: void