Add usage in some hack/update scripts

This commit is contained in:
ZhiFeng1993
2020-05-26 21:49:38 -07:00
parent a79c711191
commit 4ad6ae83ae
6 changed files with 22 additions and 1 deletions

View File

@@ -14,6 +14,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# This script genertates `*/api.pb.go` from the protobuf file `*/api.proto`.
# Usage:
# hack/update-generated-protobuf-dockerized.sh "${APIROOTS}"
# An example APIROOT is: "k8s.io/api/admissionregistration/v1"
set -o errexit
set -o nounset
set -o pipefail