mirror of https://github.com/k3s-io/k3s
Merge pull request #53638 from CaoShuFeng/lt
Automatic merge from submit-queue (batch tested with PRs 52987, 53638). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix generate-groups.sh This script should run when user pass arguements like this: ``` generate-groups.sh deepcopy "k8s.io/coredump-detector/" "k8s.io/coredump-detector/apis/" "coredump:v1alpha1" ``` /assign @sttts **Release note**: ``` NONE ```pull/6/head
commit
c4a1d928e7
|
@ -21,7 +21,7 @@ set -o pipefail
|
|||
# generate-groups generates everything for a project with external types only, e.g. a project based
|
||||
# on CustomResourceDefinitions.
|
||||
|
||||
if [ "$#" -le 4 ] || [ "${1}" == "--help" ]; then
|
||||
if [ "$#" -lt 4 ] || [ "${1}" == "--help" ]; then
|
||||
cat <<EOF
|
||||
Usage: $(basename $0) <generators> <output-package> <apis-package> <groups-versions> ...
|
||||
|
||||
|
|
Loading…
Reference in New Issue