summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraven <citrons@mondecitronne.com>2026-03-24 12:46:17 -0500
committerraven <citrons@mondecitronne.com>2026-03-24 12:46:17 -0500
commit7ca8228d06b3cd62e38ac85e85286ab49e528741 (patch)
treef7e437a1d478ff822023ff063b7d99c0e6574c8e
parent31fa67112ccd9eeabf31ca20e10e5956c1f6ff38 (diff)
fix error messages
-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)