From 7cf9f220374728c020fa67129d1fe1e79a9880f6 Mon Sep 17 00:00:00 2001 From: ubuntu201711081 <201711081@jbnu.ac.kr> Date: Sun, 6 Dec 2020 04:12:20 +0000 Subject: [PATCH] change client option name --- README.md | 2 +- client.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5c22318..30bd1d3 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Server OPTION and arguments: Client option and arguments: - `-b` or `--benchmark` :benchmark mode -- `--nogui` :no progress bar +- `-nv` or `--no-verbose` :no progress bar Available macro: diff --git a/client.c b/client.c index 6053cb8..1c5b842 100644 --- a/client.c +++ b/client.c @@ -221,7 +221,7 @@ int main(int argc, const char *argv[]){ arg_filename_start++; 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++; DisplayProgress = false; }