Changeset 11303 for trunk/FACT++
- Timestamp:
- 07/08/11 16:10:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/LocalControl.h
r11050 r11303 58 58 T::PrintGeneralHelp(); 59 59 lout << " " << kUnderline << "Specific commands:" << endl; 60 lout << kBold << " ac,allowed " << kReset << "Display a list of all currently allowed commands." << endl; 60 61 lout << kBold << " st,states " << kReset << "Display a list of the available states with description." << endl; 61 62 lout << kBold << " # <text> " << kReset << "Echo <text> to the output stream" << endl; … … 88 89 if (str=="states" || str=="st") 89 90 { 90 if (fStateMachine) 91 fStateMachine->PrintListOfStates(lout); 91 fStateMachine->PrintListOfStates(lout); 92 return true; 93 } 94 if (str=="allowed" || str=="ac") 95 { 96 lout << endl << kBold << "List of commands allowed in current state:" << endl; 97 fStateMachine->PrintListOfAllowedEvents(lout); 98 lout << endl; 92 99 return true; 93 100 }
Note:
See TracChangeset
for help on using the changeset viewer.