Browse Source

added parameter details for creating CLI

Denys 4 years ago
parent
commit
41f54b7ecc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      GUI-CLI Protocol.md

+ 2 - 2
GUI-CLI Protocol.md

@@ -6,7 +6,7 @@ Every json message must be minimized and be followed by a newline. This rule mak
 
 ## 0. Connect to the server
 
-The GUI creates a new instance of the CLI. Then the GUI sends a connect command to connect to a server. 
+The GUI creates a new instance of the CLI with parameter `--machine`. Then the GUI sends a connect command to connect to a server. 
 
 ## 1. Start a connection
 
@@ -75,7 +75,7 @@ write: "signup" username new_password
 Server:
 ```
 {
-	"command": "login",
+	"command": "signup",
 	"accept": bool,
 	"error": string
 }