Browse Source

CLI suggests to connect before you login

Jonas Pflanzer 5 năm trước cách đây
mục cha
commit
a3c42f47d1
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      cli/src/userioman.cpp

+ 4 - 2
cli/src/userioman.cpp

@@ -77,8 +77,10 @@ void UserIoMan::printMessage(std::string msg, OutMsgType type) {
 }
 
 void UserIoMan::printWelcomeMessage() {
-	std::cout << "please login by entering \"login <username> <password>\" \nor "
-	             "sign up and log in with \"signup <username> <password>\""
+	std::cout << std::endl
+	          << "Please connect to a server via \"connect <ip> <port>\"," << std::endl
+	          << "login by entering \"login <username> <password>\"" << std::endl
+	          << "or sign up and log in with \"signup <username> <password>\"." << std::endl
 	          << std::endl;
 }