How to use GetOption in SlaveBegin? In Begin it gives “MC”, in SlaveBegin it give “MC#+”. What’s this? I need the same behaviour.
Dear wiso,
Thanks for reporting this issue, now fixed in the trunk and 5-26-00-patches.
Note, however, that by its nature, it is safer to treat the option field as an option container, i.e.
TString opt(GetOption());
if (opt.Contains("MC")) {
...
}
Checking it for equality is more fragile as it fully depends on the exact options specification, included the order in case of multiple options.
G. Ganis