From f8cc8779bf70f5574ef0d0f32c71fee4c1f276e4 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Fri, 30 Jul 2010 23:28:57 +0200 Subject: [PATCH] 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.) --- args.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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 }, -- 1.7.0.4