aboutsummaryrefslogtreecommitdiff
path: root/cmd/vhost
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/vhost')
-rw-r--r--cmd/vhost/main.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/vhost/main.go b/cmd/vhost/main.go
index dbf899a..26280ef 100644
--- a/cmd/vhost/main.go
+++ b/cmd/vhost/main.go
@@ -84,6 +84,16 @@ func main() {
ifaceName := line[3:]
ipstack.InterfaceUpREPL(ifaceName)
}
+ } else {
+ fmt.Println("Invalid command: ", line)
+ fmt.Println("Commands: ")
+ fmt.Println(" exit Terminate this program")
+ fmt.Println(" li List interfaces")
+ fmt.Println(" lr List routes")
+ fmt.Println(" ln List available neighbors")
+ fmt.Println(" up Enable an interface")
+ fmt.Println(" down Disable an interface")
+ fmt.Println(" send Send test packet")
}
continue
}