Skip to content

Commit 92cb792

Browse files
committed
fix: default to test subcommand when no arguments provided
1 parent faa6ffb commit 92cb792

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

bashunit

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,8 @@ case "${1:-}" in
8484
_SUBCOMMAND="test"
8585
;;
8686
"")
87-
# No arguments → show help
88-
console_header::print_help
89-
exit 0
87+
# No arguments → assume "test" (uses BASHUNIT_DEFAULT_PATH)
88+
_SUBCOMMAND="test"
9089
;;
9190
*)
9291
# Path argument → assume "test"

0 commit comments

Comments
 (0)