Skip to content

Commit 58b5d5c

Browse files
committed
feat: Update help message
1 parent 89255cc commit 58b5d5c

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

unittest

+11-8
Original file line numberDiff line numberDiff line change
@@ -234,19 +234,22 @@ unittest__run() {
234234
case $1 in
235235
-h|--help)
236236
cat >&2 <<-'EOF'
237-
unittest - unit tests framework for shell scripts.
238-
Usage:
239-
unittest [options] [test_directory|test_file]
237+
unittest - unit tests framework for shell scripts.
240238
241-
Options:
242-
-h, --help Show this help and exit.
243-
-v, --version Show version number and exit.
244-
EOF
239+
Usage:
240+
unittest [options] [test_directory | test_file]
241+
242+
Options:
243+
-h, --help Show this help and exit.
244+
-v, --version Show version number and exit.
245+
246+
Without any arguments it will run all tests from 'tests' directory.
247+
EOF
245248
exit 0
246249
;;
247250

248251
-v|--version)
249-
printf 'unittest 23.7\n' >&2
252+
printf 'unittest 23.11\n' >&2
250253
exit 0
251254
;;
252255
*) # specified directory/file

0 commit comments

Comments
 (0)