Skip to content

Commit a59d730

Browse files
committedMay 26, 2020
build: Fix usage in build scripts
1 parent 3a8e8d7 commit a59d730

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎scripts/appinspect.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ print_usage () {
3434
echo ""
3535
echo "appinspect.sh -a <APP NAME> [-f <FILENAME>] [-j] [-r]"
3636
echo ""
37-
echo " -a Name of the App to inspect"
37+
echo " -a What to inspect. Must be either 'app' or 'addon'."
3838
echo " -f File to submit for inspection"
3939
echo " -j Output a JSON report with details of all checks"
4040
echo " -r Create an HTML report file with details of all checks"
@@ -136,6 +136,7 @@ while getopts a:f:jrh FLAG; do
136136
;;
137137
h)
138138
print_usage
139+
exit 0
139140
;;
140141
j)
141142
JSON_REPORT=true

‎scripts/build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ while getopts a:o:lh FLAG; do
4646
;;
4747
h)
4848
print_usage
49+
exit 0
4950
;;
5051
\?) #unrecognized option - show help
5152
print_usage

0 commit comments

Comments
 (0)