simplify error msg on error unless asked explicitly

This commit is contained in:
NunoSempere 2024-09-15 16:40:00 -04:00
parent 98814edb62
commit e992a26bd7

View File

@ -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)
}