Changeset 13753 for trunk


Ignore:
Timestamp:
05/16/12 09:37:09 (12 years ago)
Author:
tbretz
Message:
Added the user as an option.
File:
1 edited

Legend:

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

    r13734 r13753  
    4040class DimCtrl : public MainImp, public DimCommandHandler, public MessageDimTX
    4141{
    42     int  fLabel;
    43     int  fStop;
    44     int  fVerbosity;
    45     bool fDebug;
    46     bool fIsServer;
     42    int    fLabel;
     43    int    fStop;
     44    int    fVerbosity;
     45    bool   fDebug;
     46    bool   fIsServer;
     47    string fUser;
    4748
    4849    DimDescribedService fSrvState;
     
    240241
    241242        fDebug = conf.Get<bool>("debug");
     243        fUser  = conf.Get<string>("user");
    242244
    243245        return -1;
     
    269271        ("quiet,q",     po_bool(false),  "Suppress all output except comments (log-level>=90)")
    270272        ("debug",       po_bool(false),  "Print the labels for debugging purpose")
    271         ("start",       var<string>(),  "")
    272         ("stop",        po_switch(),  "")
     273        ("start",       var<string>(),   "")
     274        ("stop",        po_switch(),     "")
     275        ("user,u",      var<string>(),   "A user name - just for logging purposes")
    273276        ;
    274277
Note: See TracChangeset for help on using the changeset viewer.