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() {
|
||||
local opts threshold=1 group="" method="" diff=""
|
||||
opts="$(getopt -o t:g:m:d:: -l threshold:,group:,ref:,diff:: -n "$PROGRAM" -- "$@")"
|
||||
local opts threshold=1 remote="origin" group="" method="" diff=""
|
||||
opts="$(getopt -o t:g:m:o:d:: -l threshold:,group:,ref:,remote:,diff:: -n "$PROGRAM" -- "$@")"
|
||||
eval set -- "$opts"
|
||||
while true; do case $1 in
|
||||
-t|--threshold) threshold="$2"; shift 2 ;;
|
||||
-g|--group) group="$2"; shift 2 ;;
|
||||
-r|--ref) ref="$2"; shift 2 ;;
|
||||
-o|--remote) remote="$2"; shift 2 ;;
|
||||
-d|--diff) diff="1"; shift 2 ;;
|
||||
--) shift; break ;;
|
||||
esac done
|
||||
|
|
Loading…
Reference in New Issue