File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ usage()
5858 $( info " -f --file" ) $( comment " The file to upload." )
5959 $( info " -h --help" ) $( comment " Show help information and usage." )
6060 $( info " -H --host" ) $( comment " The tus-server host where file is uploaded." )
61+ $( info " -L --locate" ) $( comment " Locate the uploaded file in tus-server." )
6162 $( info " -u --update" ) $( comment " Update tusc to latest version." )
6263
6364 $( ok Examples:)
@@ -139,7 +140,7 @@ while [[ $# -gt 0 ]]; do
139140 -f | --file) FILE=" $2 " ; shift 2 ;;
140141 -h | --help | help) usage $1 ; exit 0 ;;
141142 -H | --host) HOST=" $2 " ; shift 2 ;;
142- locate) LOCATE=1; shift ;;
143+ -L | -- locate) LOCATE=1; shift ;;
143144 -u | --update) update; exit 0 ;;
144145 --version | version) version; exit 0 ;;
145146 * ) if [[ $HOST ]]; then
You can’t perform that action at this time.
0 commit comments