From 33d4f69767daca7bea1acdd53df6434b89a15166 Mon Sep 17 00:00:00 2001 From: mxmehl Date: Sat, 20 Jun 2015 17:57:14 +0300 Subject: [PATCH] fix wrong argument --- split-dl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/split-dl.sh b/split-dl.sh index a5b08e9..9281269 100755 --- a/split-dl.sh +++ b/split-dl.sh @@ -6,7 +6,7 @@ CHECKSUM="md5sum" # Define application to create hashsums FILE="" MODE="" -while getopts s:i:c:f:t:help: opt; do +while getopts s:i:c:m:t:help: opt; do case $opt in h) echo "This program is used to split large files into several small @@ -14,7 +14,7 @@ files to avoid data loss and the need to re-download them from slow or unstable internet connections." echo echo "Necessary arguments to start this application:" - echo "-t Desired MODE. Possible values are \"server\" or \"client\"" + echo "-m Desired MODE. Possible values are \"server\" or \"client\"" echo " \"server\" splits the file on the server and needs a file for -f." echo " \"client\" downloads the files and needs a download link for -f." echo "-f File in the same directory to be splitted or link to be downloaded."