Changeset 15174


Ignore:
Timestamp:
03/28/13 11:01:35 (12 years ago)
Author:
tbretz
Message:
Fixed some typos in the help-message, increased the validity delay a bit.
File:
1 edited

Legend:

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

    r15020 r15174  
    266266
    267267        // Timeout
    268         if (!fLastReport.IsValid() || fLastReport+boost::posix_time::seconds(fInterval*2)<Time())
     268        if (!fLastReport.IsValid() || Time()>fLastReport+boost::posix_time::seconds(fInterval*3))
    269269            return Power::State::kDisconnected;
    270270
     
    531531{
    532532    cout <<
    533         "The lidctrl is an interface to the LID control hardware.\n"
     533        "The pwrctrl is an interface to the LID control hardware.\n"
    534534        "\n"
    535535        "The default is that the program is started without user intercation. "
     
    538538        "help message about the usuage can be brought to the screen.\n"
    539539        "\n"
    540         "Usage: lidctrl [-c type] [OPTIONS]\n"
    541         "  or:  lidctrl [OPTIONS]\n";
     540        "Usage: pwrctrl [-c type] [OPTIONS]\n"
     541        "  or:  pwrctrl [OPTIONS]\n";
    542542    cout << endl;
    543543}
Note: See TracChangeset for help on using the changeset viewer.