ReadEvalPrintLoop.st
changeset 22576 d774834d53fc
parent 22575 cd5f0602a863
child 22577 d47c7e41eda5
--- a/ReadEvalPrintLoop.st	Mon Mar 05 14:53:29 2018 +0100
+++ b/ReadEvalPrintLoop.st	Mon Mar 05 14:56:01 2018 +0100
@@ -48,7 +48,9 @@
 
     A line starting with '?' shows the usage message.
     Lines starting with '#' are directives:
-        #exit   - exit the rep-loop
+        #exit           - exit the rep-loop
+        #show ...       - show various infos
+        #use package    - show various infos
         type '?' to see more.
         
     The input can be in one of two formats:
@@ -372,6 +374,8 @@
 !
 
 cmd_exit:lineStream
+    "exit directive - leaves the repl"
+
     exitAction value
 
     "Created: / 07-12-2006 / 18:55:46 / cg"
@@ -526,7 +530,6 @@
         show modules (= loaded packages)
         show variables 
         etc.
-        
     "
 
     |errStream what showAll ok|
@@ -593,8 +596,8 @@
     ].
 
     ok ifFalse:[
-        errStream showCR:'? show what ?'.
-        errStream showCR:'? (argument must be one of: packages, modules, variables, flags, memory, processes)'.
+        errStream showCR:'? usage: show <what>'.
+        errStream showCR:'? (the argument must be one of: packages, modules, variables, flags, memory, processes)'.
     ].
     
     "