allow remote definition for verify
This commit is contained in:
parent
c18f9d36ea
commit
7164bd6724
5
git-sig
5
git-sig
|
@ -456,13 +456,14 @@ cmd_remove() {
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd_verify() {
|
cmd_verify() {
|
||||||
local opts threshold=1 group="" method="" diff=""
|
local opts threshold=1 remote="origin" group="" method="" diff=""
|
||||||
opts="$(getopt -o t:g:m:d:: -l threshold:,group:,ref:,diff:: -n "$PROGRAM" -- "$@")"
|
opts="$(getopt -o t:g:m:o:d:: -l threshold:,group:,ref:,remote:,diff:: -n "$PROGRAM" -- "$@")"
|
||||||
eval set -- "$opts"
|
eval set -- "$opts"
|
||||||
while true; do case $1 in
|
while true; do case $1 in
|
||||||
-t|--threshold) threshold="$2"; shift 2 ;;
|
-t|--threshold) threshold="$2"; shift 2 ;;
|
||||||
-g|--group) group="$2"; shift 2 ;;
|
-g|--group) group="$2"; shift 2 ;;
|
||||||
-r|--ref) ref="$2"; shift 2 ;;
|
-r|--ref) ref="$2"; shift 2 ;;
|
||||||
|
-o|--remote) remote="$2"; shift 2 ;;
|
||||||
-d|--diff) diff="1"; shift 2 ;;
|
-d|--diff) diff="1"; shift 2 ;;
|
||||||
--) shift; break ;;
|
--) shift; break ;;
|
||||||
esac done
|
esac done
|
||||||
|
|
Loading…
Reference in New Issue