remove -T for gitcopy

This commit is contained in:
hophacker 2019-08-08 17:29:01 +08:00
parent b750c37e3b
commit 4b3308bd45

View File

@ -194,7 +194,8 @@ function gitr() {
function gitcopy() {
n=1
while getopts "c:n:t:T" o; do
trelloCardName=`git log $commit --pretty="✔️ %s" | head -n $n`
while getopts "c:n:t" o; do
case "${o}" in
c)
commit=${OPTARG}
@ -205,9 +206,6 @@ function gitcopy() {
t)
trelloCardName=${OPTARG}
;;
T)
trelloCardName=`git log $commit --pretty="✔️ %s" | head -n $n`
;;
*)
usage
;;
@ -248,8 +246,6 @@ function h() {
CONTEXT=$OPTARG
shift; shift
;;
\?) echo "Usage: h [-c CONTEXT]"
;;
esac
done
TLS=""