Shell script nits (#4982)
This commit is contained in:
parent
5e221bf219
commit
bc8f435d45
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue