Commits

Miki Tebeka  committed 6ec069d

Better error

  • Participants
  • Parent commits 2c1c303

Comments (0)

Files changed (1)

 	case "client":
 		client()
 	default:
-		panic(fmt.Sprintf("unknown command %s", flag.Arg(0)))
+		panic(fmt.Sprintf(
+			"unknown command %s (user either 'server' or 'client'",
+			flag.Arg(0)))
 	}
 }