From 72727496148afe8bdf9260d98cc79903f64f4ebd Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Sat, 4 Jul 2020 22:42:37 +0100 Subject: [PATCH] Enable command line client to accept new commands --- cmd/rove/main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/rove/main.go b/cmd/rove/main.go index 17e35aa..cf47692 100644 --- a/cmd/rove/main.go +++ b/cmd/rove/main.go @@ -217,10 +217,11 @@ func InnerMain(command string, args ...string) error { Bearing: args[i], }, ) - case "stash": + default: + // By default just use the command literally commands = append(commands, &rove.Command{ - Command: game.CommandStash, + Command: args[i], }, ) }