From 4c577e89f203ec97af29cb994289285fa520c0ae Mon Sep 17 00:00:00 2001 From: Andy Maloney Date: Tue, 5 Mar 2024 08:54:42 -0500 Subject: [PATCH] {cli} Fix help messages in interactive command line (#428) --- modes/shell/shell.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modes/shell/shell.go b/modes/shell/shell.go index 8ca1df8..42ec430 100644 --- a/modes/shell/shell.go +++ b/modes/shell/shell.go @@ -70,14 +70,14 @@ func Initialize(settings *cli.Settings) (s *Shell, err error) { } s.commands = map[string]command{ - "frameworks": {`choose frameworks to run (e.g. "ccm pyactr", "all")`, s.cmdFramework}, + "frameworks": {`choose frameworks to run (e.g. "ccm pyactr", "all") - called without arguments, it will list active frameworks`, s.cmdFramework}, "history": {"outputs your command history", s.cmdHistory}, "load": {"loads a model: load [FILENAME]", s.cmdLoad}, "reset": {"resets the current model", s.cmdReset}, "run": {"runs the current model: run [INITIAL STATE]", s.cmdRun}, "version": {"outputs version info", s.cmdVersion}, - "help": {"exits the program", s.cmdHelp}, + "help": {"outputs information about all available commands", s.cmdHelp}, "exit": {"exits the program", s.cmdExit}, "quit": {"exits the program", s.cmdExit}, }