Skip to content

Commit 8602aaf

Browse files
James Michael DuPontdennwc
authored andcommitted
adding help to repl
1 parent 880a1b5 commit 8602aaf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/db/repl.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ func Repl(ctx context.Context, h *graph.Handle, queryLanguage string, timeout ti
185185
}
186186
continue
187187

188+
case "help":
189+
fmt.Printf("Help\n\texit // Exit\n\thelp // this help\n\td: <quad> // delete quad\n\ta: <quad> // add quad\n\t:debug [t|f]\n")
190+
continue
191+
192+
188193
case "exit":
189194
term.Close()
190195
os.Exit(0)

0 commit comments

Comments
 (0)