diff options
author | Ryo Nakamura <upa@haeena.net> | 2024-04-29 19:36:22 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2024-04-29 19:36:22 +0900 |
commit | 235ba41c5b5adde50ec44deebcd4a5d97e2eb995 (patch) | |
tree | 42257e7686216492c1bc329a829ba4adae8312e1 /src/main.c | |
parent | 675126a8368503edee00854a5d82f9cc32524bc2 (diff) |
default chunk size is filesize/(nr_conn*4) (Issue #20)
and clean-up chunk_sz related parts.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ void usage(bool print_help) " -R CHECKPOINT resume transferring from the checkpoint\n" "\n" " -s MIN_CHUNK_SIZE min chunk size (default: 16M bytes)\n" - " -S MAX_CHUNK_SIZE max chunk size (default: filesize/nr_conn)\n" + " -S MAX_CHUNK_SIZE max chunk size (default: filesize/nr_conn/4)\n" " -a NR_AHEAD number of inflight SFTP commands (default: 32)\n" " -b BUF_SZ buffer size for i/o and transfer\n" " -L LIMIT_BITRATE Limit the bitrate, n[KMG] (default: 0, no limit)\n" |