remove -T for gitcopy
This commit is contained in:
parent
b750c37e3b
commit
4b3308bd45
@ -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=""
|
||||
|
Loading…
Reference in New Issue
Block a user