From 433f83efd0c7c91a96bbf290a7e2e102f939e24a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E5=8A=A0=E5=BC=BA?= Date: Tue, 25 Dec 2018 15:58:20 +0800 Subject: [PATCH 1/2] fix docs format --- docs/qupload2.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/qupload2.md b/docs/qupload2.md index c69fea75..c465c11e 100644 --- a/docs/qupload2.md +++ b/docs/qupload2.md @@ -12,6 +12,7 @@ qshell qupload2 --src-dir=/home/jemy/temp --bucket=test jemy•~» qshell qupload2 -h ``` +``` Batch upload files to the qiniu bucket Usage: @@ -48,3 +49,4 @@ Flags: --success-list string upload success file list --thread-count int multiple thread count --up-host string upload host +``` From ff8f154632fa11325aa38a4e5f1d6eeeab186c93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E5=8A=A0=E5=BC=BA?= Date: Tue, 25 Dec 2018 16:20:26 +0800 Subject: [PATCH 2/2] add License --- License | 21 +++++++++++++++++++++ iqshell/qdownload.go | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 License diff --git a/License b/License new file mode 100644 index 00000000..6175a602 --- /dev/null +++ b/License @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Qiniu + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/iqshell/qdownload.go b/iqshell/qdownload.go index 9a04d1b4..b0b6b0d5 100644 --- a/iqshell/qdownload.go +++ b/iqshell/qdownload.go @@ -405,7 +405,7 @@ func QiniuDownload(threadCount int, downConfig *DownloadConfig) { downNewFile = true } } else { - //no local file exists, donwload a new local file + //no local file exists, download a new local file downNewFile = true } }