From: H.G. Muller Date: Tue, 14 Jun 2011 11:32:38 +0000 (+0200) Subject: Add -at and -opt options as alternative for @ X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=a26cd318ed4cf0c45dbd87fc01bef8633ea1dc82;p=xboard.git Add -at and -opt options as alternative for @ Windows XP and Vista shortcuts do not display command lines with @ in them correctly, and these optionsprovide a work-around for that. --- diff --git a/args.h b/args.h index b3776ee..e6da21a 100644 --- a/args.h +++ b/args.h @@ -473,6 +473,8 @@ ArgDescriptor argDescriptors[] = { { "comPortSettings", ArgCommSettings, (void *) /*&dcb*/ 0, TRUE, INVALID }, { "settingsFile", ArgSettingsFilename, (void *) &settingsFileName, FALSE, (ArgIniType) SETTINGS_FILE }, { "ini", ArgSettingsFilename, (void *) &settingsFileName, FALSE, INVALID }, + { "at", ArgSettingsFilename, (void *) NULL, FALSE, INVALID }, + { "opt", ArgSettingsFilename, (void *) NULL, FALSE, INVALID }, { "saveSettingsFile", ArgFilename, (void *) &settingsFileName, FALSE, INVALID }, { "saveSettingsOnExit", ArgBoolean, (void *) &saveSettingsOnExit, TRUE, (ArgIniType) TRUE }, { "chessProgram", ArgBoolean, (void *) &chessProgram, FALSE, (ArgIniType) FALSE },