Skip to content

Commit

Permalink
add usage and example
Browse files Browse the repository at this point in the history
  • Loading branch information
tashima42 committed Nov 11, 2024
1 parent 7f831c3 commit 52e5365
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/rancher-rc-deps
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ rancher_url="https://github.com/rancher/rancher.git"
rancher_dir=$(mktemp -d)

if [[ -z "$ref" ]]; then
echoerr "git-ref not defined, check usage:"
show_usage
>&2 echo "error: git-ref not defined, check usage:"
>&2 echo "usage: $0 [git-ref]"
>&2 echo "example: $0 release/v2.10"
exit 1
fi

Expand Down

0 comments on commit 52e5365

Please sign in to comment.