mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
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"
This commit is contained in:
parent
687a91cbce
commit
a00b8153ca
@ -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
Block a user