File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ FILE=""
1212
1313VERBOSE=0
1414
15- COMMAND_NAME=" auto_test "
15+ COMMAND_NAME=" api-test "
1616
1717ACCESS_TOKEN=" "
1818ID_TOKEN=" "
@@ -100,10 +100,17 @@ function parse_header() {
100100
101101# Show usage and exit
102102function usage() {
103- echo " usage: $COMMAND_NAME [-hv] [-f file_name] [CMD] [ARGS]"
103+ echo " USAGE: $COMMAND_NAME [-hv] [-f file_name] [CMD] [ARGS]"
104+ echo " "
105+ echo " OPTIONS:"
106+ echo " -h (--help) print this message"
104107 echo " -h (--help) print this message"
105108 echo " -v (--verbose) verbose logging"
106109 echo " -f (--file) file to test"
110+ echo " "
111+ echo " COMMANDS:"
112+ echo " run Run test cases specified in the test file."
113+ echo " Example: 'api-test -f test.json run test_case_1 test_case_2', 'api-test -f test.json run all'"
107114 exit
108115}
109116
You can’t perform that action at this time.
0 commit comments