summaryrefslogtreecommitdiff
path: root/pkg/server/echo.go
blob: 8980ed1a3643a046c8fe68c9d0a1942806c0ec9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package server

import (
	"strings"
)

func init() {
	newCmd(echo, "echo")
}

func echo(r *request) {
	r.Print(strings.Join(r.args, " "))
}