change client option name
This commit is contained in:
parent
940bf1a32c
commit
7cf9f22037
@ -16,7 +16,7 @@ Server OPTION and arguments:
|
|||||||
|
|
||||||
Client option and arguments:
|
Client option and arguments:
|
||||||
- `-b` or `--benchmark` :benchmark mode
|
- `-b` or `--benchmark` :benchmark mode
|
||||||
- `--nogui` :no progress bar
|
- `-nv` or `--no-verbose` :no progress bar
|
||||||
|
|
||||||
Available macro:
|
Available macro:
|
||||||
|
|
||||||
|
2
client.c
2
client.c
@ -221,7 +221,7 @@ int main(int argc, const char *argv[]){
|
|||||||
arg_filename_start++;
|
arg_filename_start++;
|
||||||
bench.benchmode = true;
|
bench.benchmode = true;
|
||||||
}
|
}
|
||||||
else if(strcmp("--nogui",argv[arg_filename_start])==0){
|
else if(strcmp("-nv",argv[arg_filename_start]) == 0||strcmp("--no-verbose",argv[arg_filename_start])==0){
|
||||||
arg_filename_start++;
|
arg_filename_start++;
|
||||||
DisplayProgress = false;
|
DisplayProgress = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user