From 596f03315c0463981c07624f83e41384949b7596 Mon Sep 17 00:00:00 2001 From: whyour Date: Mon, 19 Apr 2021 17:20:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddiy=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/git_diy.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/shell/git_diy.sh b/shell/git_diy.sh index 28192154..7c335f83 100755 --- a/shell/git_diy.sh +++ b/shell/git_diy.sh @@ -12,15 +12,14 @@ AuthConf=$ConfigDir/auth.json declare -A BlackListDict url=$1 -path=$3 -blackword=$4 +path=$2 +blackword=$3 if [[ $# -lt 2 ]] || [[ $# -gt 4 ]]; then echo 'Desc: 用户拉取指定用户的指定仓储' - echo 'Usage: diy ' + echo 'Usage: diy ' - echo 'auth 作者名' - echo 'repo 仓储名' + echo 'repourl 仓储地址' echo 'path 需要下载脚本的指定目录,多个目录 | 分割 path1 | path2' echo 'blacklist 需要排除的脚本名,多个名称 | 分割 blacklist1 | blacklist2' exit 0