3156 if (!conf.DoParse(argc, argv,
PrintHelp))
3162 if (!conf.Has(
"console"))
3164 if (conf.Get<
bool>(
"no-dim"))
3165 return RunShell<LocalStream, StateMachine, ConnectionDrive>(conf);
3167 return RunShell<LocalStream, StateMachineDim, ConnectionDimDrive>(conf);
3170 if (conf.Get<
bool>(
"no-dim"))
3172 if (conf.Get<
int>(
"console")==0)
3173 return RunShell<LocalShell, StateMachine, ConnectionDrive>(conf);
3175 return RunShell<LocalConsole, StateMachine, ConnectionDrive>(conf);
3179 if (conf.Get<
int>(
"console")==0)
3180 return RunShell<LocalShell, StateMachineDim, ConnectionDimDrive>(conf);
3182 return RunShell<LocalConsole, StateMachineDim, ConnectionDimDrive>(conf);
void SetupConfiguration(Configuration &conf)
void SetupConfiguration(Configuration &conf)
Commandline parsing, resource file parsing and database access.