diff --git a/repotool.zsh b/repotool.zsh index e258ffe..46ab5ba 100755 --- a/repotool.zsh +++ b/repotool.zsh @@ -18,11 +18,12 @@ _activate_hook() { return 1 } case "$1" in - get) + get | g) shift; response=$($REPOTOOL_PATH/.bin/repotool get $@) if [[ $? != 0 ]] then; - exit $? + echo "failed to get repo with args $@" + return $? fi declare -A obj for item in ${(z)response}; do