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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 19 deletions

View File

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