diff --git a/git-sig b/git-sig index e3329f9..11ff5b8 100755 --- a/git-sig +++ b/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