From 0c4d36b3763f6cc8ca98cf238a8fef966bebf0f1 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Wed, 29 Apr 2026 13:41:50 -0500 Subject: [PATCH] cleanup printing --- cmd/makeosc/makeosc.go | 3 +-- cmd/sendosc/sendosc.go | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cmd/makeosc/makeosc.go b/cmd/makeosc/makeosc.go index 76c26a1..4bbfc5c 100644 --- a/cmd/makeosc/makeosc.go +++ b/cmd/makeosc/makeosc.go @@ -130,8 +130,7 @@ func argToTypedArg(rawArg string, oscType string) osc.OSCArg { Type: "N", } default: - fmt.Print("unhandled osc type: ") - fmt.Printf("%s.\n", oscType) + fmt.Printf("unsupported OSC arg type: %s\n", oscType) // TODO(jwetzell): something better than this like actual nil, err thing return osc.OSCArg{} } diff --git a/cmd/sendosc/sendosc.go b/cmd/sendosc/sendosc.go index 88e4643..de1795c 100644 --- a/cmd/sendosc/sendosc.go +++ b/cmd/sendosc/sendosc.go @@ -161,8 +161,7 @@ func argToTypedArg(rawArg string, oscType string) osc.OSCArg { Type: "N", } default: - fmt.Print("unhandled osc type: ") - fmt.Printf("%s.\n", oscType) + fmt.Printf("unsupported OSC arg type: %s\n", oscType) // TODO(jwetzell): something better than this like actual nil, err thing return osc.OSCArg{} }