simplify error msg on error unless asked explicitly
This commit is contained in:
parent
98814edb62
commit
e992a26bd7
3
fermi.go
3
fermi.go
|
@ -144,7 +144,8 @@ func prettyPrintDist(dist Dist) {
|
||||||
|
|
||||||
func printAndReturnErr(err_msg string) error {
|
func printAndReturnErr(err_msg string) error {
|
||||||
fmt.Println(err_msg)
|
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)
|
return errors.New(err_msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user