diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-23 02:07:08 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-23 02:07:08 -0400 |
| commit | f949689b4d56daa9988c821e2f0e1b470cfc7275 (patch) | |
| tree | 30cd47a5bd6a6598c4b10a107e72767c36262522 /pkg/shell | |
| parent | 8633ab4bc13bf957d7598700338c8d0e251e0cfa (diff) | |
Update help info
Diffstat (limited to 'pkg/shell')
| -rw-r--r-- | pkg/shell/interpreter.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/shell/interpreter.go b/pkg/shell/interpreter.go index c222de0..bb0a441 100644 --- a/pkg/shell/interpreter.go +++ b/pkg/shell/interpreter.go @@ -183,7 +183,7 @@ out: } switch t.Type { case ITOK_CMD_HELP: - printHelp(w) + PrintHelp(w) break out case ITOK_CMD_EXIT: return true, nil @@ -755,7 +755,7 @@ func (inter Interpreter) Tokenize(line string) []IToken { return tokens } -func printHelp(w io.Writer) { +func PrintHelp(w io.Writer) { fmt.Fprintln(w, "Shitty debug shell for atlas") fmt.Fprintln(w, "help - print this help") fmt.Fprintln(w, "exit - exit interactive mode") |
