protocol: remove unused PROTO_FILE env

There is no reference to PROTO_FILE and this is not working. Also we are
not inside a Makefile, so makes sense to adapt the usage to reflect the
script instead of a make command.

Signed-off-by: Beraldo Leal <bleal@redhat.com>
This commit is contained in:
Beraldo Leal 2023-08-17 18:17:58 -04:00
parent 5e1106a770
commit d8e4bb9859

View File

@ -29,12 +29,12 @@ show_succeed_msg() {
show_usage() { show_usage() {
echo "====================================================================" echo "===================================================================="
echo "" echo ""
echo " USAGE: make PROTO_FILE=<xyz.proto> generate-protocols" echo " USAGE: generate-protocols <FILE|all>"
echo "" echo ""
echo " Where PROTO_FILE may be:" echo " Where the first argument could be:"
echo " all: will compile all protocol buffer files" echo " all: will compile all protocol buffer files"
echo "" echo ""
echo " Or compile individually by using the exact proto file:" echo " Or compile individually by using the exact proto file:"
# iterate over proto files # iterate over proto files
for file in "$@" for file in "$@"