@@ -131,32 +131,38 @@ export function parseArgs(args: string[]): ParsedArgs {
returnminimist(args,options)asParsedArgs;
}
exportconstoptionsHelp:{[name:string]:string;}={
constoptionsHelp:{[name:string]:string;}={
'-d, --diff <file> <file>':localize('diff',"Compare two files with each other."),
'-a, --add <dir>':localize('add',"Add folder(s) to the last active window."),
'-g, --goto <file:line[:character]>':localize('goto',"Open a file at the path on the specified line and character position."),
'--locale <locale>':localize('locale',"The locale to use (e.g. en-US or zh-TW)."),
'-n, --new-window':localize('newWindow',"Force a new instance of Code."),
'-p, --performance':localize('performance',"Start with the 'Developer: Startup Performance' command enabled."),
'--prof-startup':localize('prof-startup',"Run CPU profiler during startup"),
'--inspect-extensions':localize('inspect-extensions',"Allow debugging and profiling of extensions. Check the developer tools for the connection uri."),
'--inspect-brk-extensions':localize('inspect-brk-extensions',"Allow debugging and profiling of extensions with the extension host being paused after start. Check the developer tools for the connection uri."),
'-r, --reuse-window':localize('reuseWindow',"Force opening a file or folder in the last active window."),
'--user-data-dir <dir>':localize('userDataDir',"Specifies the directory that user data is kept in, useful when running as root."),
'--log <level>':localize('log',"Log level to use. Default is 'info'. Allowed values are 'critical', 'error', 'warn', 'info', 'debug', 'trace', 'off'."),
'-p, --performance':localize('performance',"Start with the 'Developer: Startup Performance' command enabled."),
'--prof-startup':localize('prof-startup',"Run CPU profiler during startup"),
'--disable-extensions':localize('disableExtensions',"Disable all installed extensions."),
'--inspect-extensions':localize('inspect-extensions',"Allow debugging and profiling of extensions. Check the developer tools for the connection uri."),
'--inspect-brk-extensions':localize('inspect-brk-extensions',"Allow debugging and profiling of extensions with the extension host being paused after start. Check the developer tools for the connection uri."),