File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ print_usage () {
34
34
echo " "
35
35
echo " appinspect.sh -a <APP NAME> [-f <FILENAME>] [-j] [-r]"
36
36
echo " "
37
- echo " -a Name of the App to inspect "
37
+ echo " -a What to inspect. Must be either 'app' or 'addon'. "
38
38
echo " -f File to submit for inspection"
39
39
echo " -j Output a JSON report with details of all checks"
40
40
echo " -r Create an HTML report file with details of all checks"
@@ -136,6 +136,7 @@ while getopts a:f:jrh FLAG; do
136
136
;;
137
137
h)
138
138
print_usage
139
+ exit 0
139
140
;;
140
141
j)
141
142
JSON_REPORT=true
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ while getopts a:o:lh FLAG; do
46
46
;;
47
47
h)
48
48
print_usage
49
+ exit 0
49
50
;;
50
51
\? ) # unrecognized option - show help
51
52
print_usage
You can’t perform that action at this time.
0 commit comments