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