Shell script nits (#4982)

This commit is contained in:
Jack May
2019-07-09 12:09:13 -08:00
committed by GitHub
parent 5e221bf219
commit bc8f435d45

View File

@ -3,19 +3,21 @@
cd "$(dirname "$0")" cd "$(dirname "$0")"
usage() { usage() {
echo "" cat <<EOF
echo " Usage: do.sh action <project>"
echo "" Usage: do.sh action <project>
echo " If relative_project_path is ommitted then action will"
echo " be performed on all projects" If relative_project_path is ommitted then action will
echo "" be performed on all projects
echo " Supported actions:"
echo " build" Supported actions:
echo " clean" build
echo " test" clean
echo " clippy" test
echo " fmt" clippy
echo "" fmt
EOF
} }
perform_action() { perform_action() {