Changeset 13286 for trunk/FACT++


Ignore:
Timestamp:
03/29/12 10:28:03 (13 years ago)
Author:
tbretz
Message:
Changed # to be a real comment and > to be a comment writting to the log-files.
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

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

    r13206 r13286  
    6363        lout << kBold << "   ac,allowed   " << kReset << "Display a list of all currently allowed commands." << endl;
    6464        lout << kBold << "   st,states    " << kReset << "Display a list of the available states with description." << endl;
    65         lout << kBold << "   # <text>     " << kReset << "Echo <text> to the output stream" << endl;
     65        lout << kBold << "   > <text>     " << kReset << "Echo <text> to the output stream" << endl;
    6666        lout << kBold << "   .s           " << kReset << "Wait for the state-machine to change to the given state.\n";
    6767        lout <<          "                "              "     .s <server> [<state> [<timeout> [<label>]]]\n";
     
    134134
    135135        if (str[0]=='#')
     136            return true;
     137
     138        if (str[0]=='>')
    136139        {
    137140            fStateMachine->Comment(Tools::Trim(str.substr(1)));
  • trunk/FACT++/src/RemoteControl.h

    r13252 r13286  
    139139        lout << kBold << "   svc,services " << kReset << "List all services in the network.\n";
    140140        lout << kBold << "   st,states    " << kReset << "List all states in the network.\n";
    141         lout << kBold << "   # <text>     " << kReset << "Echo <text> to the output stream\n";
     141        lout << kBold << "   > <text>     " << kReset << "Echo <text> to the output stream\n";
    142142        lout << kBold << "   .s           " << kReset << "Wait for the state-machine to change to the given state.\n";
    143143        lout <<          "                "              "     .s <server> [<state> [<timeout> [<label>]]]\n";
     
    226226
    227227        if (str[0]=='#')
    228         {
    229             //lout << Tools::Trim(str.substr(1)) << endl;
     228            return true;
     229
     230        if (str[0]=='>')
     231        {
    230232            fImp->Comment(Tools::Trim(str.substr(1)));
    231233            return true;
Note: See TracChangeset for help on using the changeset viewer.