Index: /trunk/FACT++/src/LocalControl.h
===================================================================
--- /trunk/FACT++/src/LocalControl.h	(revision 11302)
+++ /trunk/FACT++/src/LocalControl.h	(revision 11303)
@@ -58,4 +58,5 @@
         T::PrintGeneralHelp();
         lout << " " << kUnderline << "Specific commands:" << endl;
+        lout << kBold << "   ac,allowed   " << kReset << "Display a list of all currently allowed commands." << endl;
         lout << kBold << "   st,states    " << kReset << "Display a list of the available states with description." << endl;
         lout << kBold << "   # <text>     " << kReset << "Echo <text> to the output stream" << endl;
@@ -88,6 +89,12 @@
         if (str=="states" || str=="st")
         {
-            if (fStateMachine)
-                fStateMachine->PrintListOfStates(lout);
+            fStateMachine->PrintListOfStates(lout);
+            return true;
+        }
+        if (str=="allowed" || str=="ac")
+        {
+            lout << endl << kBold << "List of commands allowed in current state:" << endl;
+            fStateMachine->PrintListOfAllowedEvents(lout);
+            lout << endl;
             return true;
         }
