From 9ecc866cd652464ce97376bc05ef787383029e54 Mon Sep 17 00:00:00 2001 From: Allan Clark Date: Thu, 18 Jan 2024 21:59:29 -0500 Subject: [PATCH] cli arguments should feel like scp --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fddc049..c4cc4e5 100644 --- a/README.md +++ b/README.md @@ -12,23 +12,21 @@ For fastest throughput on high-RTT links, change the congestion algorithm on bot ## Usage ``` USAGE: - zap [OPTIONS] --user --server --remote-path + zap [OPTIONS] ARGS: - The input file path + The input file path + Specifies user@host:remote_path OPTIONS: -c, --streams The number of parallel streams [default: 20] -h, --help Print help information -i, --ssh-key-path The SSH key path for authentication - -p, --remote-path The remote path where streams will be stored -r, --retries The number of retries to attempt [default: 3] - -s, --server The hostname of the remote server - -u, --user The username for the remote server -V, --version Print version information ``` -`./zap -u ubuntu -s 1.2.3.4 -p /home/ubuntu my-file.bin` +`./zap 100mb.bin user@host:` ### Why would I want this? Good use cases for Zap might be sending a large video file to someone on the other side of the country or globe as fast as possible.