Skip to content
This repository was archived by the owner on Mar 1, 2025. It is now read-only.

Commit d90de63

Browse files
committed
Shift option args to not pass them to op signin
1 parent 4ce2f72 commit d90de63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/op-ssh-fetch

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ while getopts "hn" opt; do
3131
;;
3232
esac
3333
done
34+
shift $((OPTIND-1))
35+
[ "${1:-}" = "--" ] && shift
3436

3537
op_signin $@
3638

0 commit comments

Comments
 (0)