mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #53652 from sttts/sttts-generate-internal-groups.sh-flags
Automatic merge from submit-queue (batch tested with PRs 53525, 53652). 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>. code-generator: fix flag check in generate-internal-groups.sh
This commit is contained in:
commit
73d1b38604
@ -21,7 +21,7 @@ set -o pipefail
|
||||
# generate-internal-groups generates everything for a project with internal types, e.g. an
|
||||
# user-provided API server based on k8s.io/apiserver.
|
||||
|
||||
if [ "$#" -le 5 ] || [ "${1}" == "--help" ]; then
|
||||
if [ "$#" -lt 5 ] || [ "${1}" == "--help" ]; then
|
||||
cat <<EOF
|
||||
Usage: $(basename $0) <generators> <output-package> <internal-apis-package> <extensiona-apis-package> <groups-versions> ...
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user