usage
This commit is contained in:
parent
177ba91d51
commit
42aa119e7f
1 changed files with 3 additions and 0 deletions
|
@ -56,6 +56,9 @@ func (g *Game) REPL(src io.Reader, dst io.Writer, assets fs.FS) error {
|
||||||
g.Enable()
|
g.Enable()
|
||||||
g.Show()
|
g.Show()
|
||||||
case "tree":
|
case "tree":
|
||||||
|
if len(tok) < 1 || len(tok) > 2 {
|
||||||
|
fmt.Println(dst, "Usage: tree [ID]")
|
||||||
|
}
|
||||||
var c interface{} = g
|
var c interface{} = g
|
||||||
if len(tok) == 2 {
|
if len(tok) == 2 {
|
||||||
// subtree
|
// subtree
|
||||||
|
|
Loading…
Reference in a new issue