From: H.G. Muller Date: Fri, 30 Jul 2010 21:28:57 +0000 (+0200) Subject: Define /firstUCI and /secondUCI as synonyms for /fUCI, /sUCI X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=f8cc8779bf70f5574ef0d0f32c71fee4c1f276e4;p=xboard.git Define /firstUCI and /secondUCI as synonyms for /fUCI, /sUCI Because the %s expansion of WB options in the /fcp and /scp lines only works for options that contain 'first' or 'second', and /fUCI thus did not work, PSWBTM had to rely on the cumbersome /firstIsUCI=true to install UCI engines. (The latter option should be deprecated really; the UCI-ness of the engines is a volatile option, so it makes no sense to supply a way to set them both to false or true. One only needs to be able to set it to the non-default state.) --- diff --git a/args.h b/args.h index e6c72f8..fb812ba 100644 --- a/args.h +++ b/args.h @@ -526,8 +526,10 @@ ArgDescriptor argDescriptors[] = { { "autoDisplayTags", ArgBoolean, (void *) &appData.autoDisplayTags, TRUE, (ArgIniType) TRUE }, { "firstIsUCI", ArgBoolean, (void *) &appData.firstIsUCI, FALSE, (ArgIniType) FALSE }, { "fUCI", ArgTrue, (void *) &appData.firstIsUCI, FALSE, INVALID }, + { "firstUCI", ArgTrue, (void *) &appData.firstIsUCI, FALSE, INVALID }, { "secondIsUCI", ArgBoolean, (void *) &appData.secondIsUCI, FALSE, (ArgIniType) FALSE }, { "sUCI", ArgTrue, (void *) &appData.secondIsUCI, FALSE, INVALID }, + { "secondUCI", ArgTrue, (void *) &appData.secondIsUCI, FALSE, INVALID }, { "firstHasOwnBookUCI", ArgBoolean, (void *) &appData.firstHasOwnBookUCI, FALSE, (ArgIniType) TRUE }, { "fNoOwnBookUCI", ArgFalse, (void *) &appData.firstHasOwnBookUCI, FALSE, INVALID }, { "firstXBook", ArgFalse, (void *) &appData.firstHasOwnBookUCI, FALSE, INVALID },