Skip to content

Commit 063efe9

Browse files
committed
Rename file
1 parent 0c4a698 commit 063efe9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

auto_test.sh renamed to api-test.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ FILE=""
1212

1313
VERBOSE=0
1414

15-
COMMAND_NAME="auto_test"
15+
COMMAND_NAME="api-test"
1616

1717
ACCESS_TOKEN=""
1818
ID_TOKEN=""
@@ -100,10 +100,17 @@ function parse_header() {
100100

101101
# Show usage and exit
102102
function 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

0 commit comments

Comments
 (0)