Changeset 11257 for trunk


Ignore:
Timestamp:
07/06/11 09:35:34 (13 years ago)
Author:
tbretz
Message:
Removed the --no-dim option, because it won't work anyway at the moment.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fadctrl.cc

    r11253 r11257  
    17771777        ("dns",       var<string>("localhost"),       "Dim nameserver host name (Overwites DIM_DNS_NODE environment variable)")
    17781778        ("log,l",     var<string>(n), "Write log-file")
    1779         ("no-dim,d",  po_switch(),    "Disable dim services")
     1779//        ("no-dim,d",  po_switch(),    "Disable dim services")
    17801780        ("console,c", var<int>(),     "Use console (0=shell, 1=simple buffered, X=simple unbuffered)")
    17811781        ("cmd",       vars<string>(), "Execute one or more commands at startup")
     
    18741874        if (!conf.Has("console"))
    18751875        {
    1876             if (conf.Get<bool>("no-dim"))
    1877                 return RunShell<LocalStream, StateMachine>(conf);
    1878             else
     1876//            if (conf.Get<bool>("no-dim"))
     1877//                return RunShell<LocalStream, StateMachine>(conf);
     1878//            else
    18791879                return RunShell<LocalStream, StateMachineDim>(conf);
    18801880        }
    18811881        // Cosole access w/ and w/o Dim
    1882         if (conf.Get<bool>("no-dim"))
     1882/*        if (conf.Get<bool>("no-dim"))
    18831883        {
    18841884            if (conf.Get<int>("console")==0)
     
    18881888        }
    18891889        else
    1890         {
     1890*/        {
    18911891            if (conf.Get<int>("console")==0)
    18921892                return RunShell<LocalShell, StateMachineDim>(conf);
Note: See TracChangeset for help on using the changeset viewer.