Skip to content

Commit

Permalink
{cli} Fix help messages in interactive command line (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaloney authored Mar 5, 2024
1 parent d73e0d2 commit 4c577e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modes/shell/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
}
Expand Down

0 comments on commit 4c577e8

Please sign in to comment.