Changeset 10345


Ignore:
Timestamp:
Apr 10, 2011, 10:17:01 AM (9 years ago)
Author:
tbretz
Message:
Implemented help for a single server or command.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/LocalControl.h

    r10312 r10345  
    7171    bool Process(const std::string &str)
    7272    {
     73        if (str.substr(0, 2)=="h " || str.substr(0, 5)=="help ")
     74        {
     75            lout << endl;
     76            fStateMachine->PrintListOfEvents(lout, str.substr(str.find_first_of(' ')+1));
     77            lout << endl;
     78
     79            return true;
     80        }
    7381        if (str=="states" || str=="st")
    7482        {
Note: See TracChangeset for help on using the changeset viewer.