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
Kubernetes Submit Queue 2017-10-10 07:02:15 -07:00 committed by GitHub
commit c4a1d928e7
1 changed files with 1 additions and 1 deletions

View File

@ -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> ...