fix wrong argument
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user