From e992a26bd7356e91f2aa3e000364cf1de457006f Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sun, 15 Sep 2024 16:40:00 -0400 Subject: [PATCH] simplify error msg on error unless asked explicitly --- fermi.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fermi.go b/fermi.go index 8fb2193..6029a06 100644 --- a/fermi.go +++ b/fermi.go @@ -144,7 +144,8 @@ func prettyPrintDist(dist Dist) { func printAndReturnErr(err_msg string) error { fmt.Println(err_msg) - fmt.Println(HELP_MSG) + // fmt.Println(HELP_MSG) + fmt.Println("Type \"help\" (without quotes) to see a pseudogrammar and examples") return errors.New(err_msg) }