change client help message

This commit is contained in:
ubuntu201711081 2020-12-04 10:24:26 +00:00
parent 50eb6f4cf7
commit 6d6b446640
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ int main(int argc, const char *argv[]){
in_port_t server_port;
int sock, err;
if (argc != 4){
fprintf(stderr,"invaild arguments number.");
fprintf(stderr,"USAUE: %s SERVERNAME PORT FILENAME\n",argv[0]);
return 1;
}
server_name = argv[1];

View File

@ -135,7 +135,7 @@ int main(int argc, const char *argv[]){
in_port_t server_port = 0;
int sock, err;
if (argc != 4){
fprintf(stderr,"invaild arguments number.");
fprintf(stderr,"USAUE: %s SERVERNAME PORT FILENAME\n",argv[0]);
return 1;
}
server_name = argv[1];