summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/metronode/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/metronode/main.go b/cmd/metronode/main.go
index bae5a39..f923a40 100644
--- a/cmd/metronode/main.go
+++ b/cmd/metronode/main.go
@@ -11,7 +11,7 @@ import (
)
func usage() {
- fmt.Fprintf(os.Stderr, "usage: %s [options...] hostname", os.Args[0])
+ fmt.Fprintf(os.Stderr, "usage: %s [options...] hostname\n", os.Args[0])
}
func main() {
@@ -34,7 +34,7 @@ func main() {
args := flag.Args()
if len(args) < 1 {
- fmt.Fprintf(os.Stderr, "error: please specific server hostname")
+ fmt.Fprintf(os.Stderr, "error: please specify server hostname\n")
usage()
os.Exit(1)
}
@@ -61,7 +61,7 @@ func main() {
log.SetOutput(&cons)
go readConsole(s, &cons)
} else {
- log.Print("not using console:", err)
+ log.Print("not using console: ", err)
}
hLn, err = net.Listen("tcp", *httpAddress)