mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
code-generator: fix flag check in generate-internal-groups.sh
This commit is contained in:
parent
50377e88ea
commit
adc14ef935
@ -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