Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
- Remove `multi-invokers` in favor of `data providers`
- Removing trailing slashes `/` from the test directories naming output.
- Align "Expected" and "but got" on `assert_*` fails message.
- Change `-v` as shortcut for `--version`
- Add `-vvv` as shortcut for `--verbose`
- Add `BASHUNIT_` suffix to all .env config keys
- BASHUNIT_SHOW_HEADER
- BASHUNIT_HEADER_ASCII_ART
Expand Down
4 changes: 2 additions & 2 deletions bashunit
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ while [[ $# -gt 0 ]]; do
-s|--simple)
export BASHUNIT_SIMPLE_OUTPUT=true
;;
-v|--verbose)
-vvv|--verbose)
export BASHUNIT_SIMPLE_OUTPUT=false
;;
--debug)
Expand All @@ -65,7 +65,7 @@ while [[ $# -gt 0 ]]; do
export BASHUNIT_REPORT_HTML="$2";
shift
;;
--version)
-v|--version)
console_header::print_version
trap '' EXIT && exit 0
;;
Expand Down
2 changes: 1 addition & 1 deletion docs/command-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Creates a report HTML file that contains information about the test results of y

> `bashunit -s|--simple`
>
> `bashunit -v|--verbose`
> `bashunit -vvv|--verbose`

Enables simplified or verbose output to the console.

Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Enables simplified output to the console. `false` by default.

Verbose is the default output, but it can be overridden by the environment configuration.

Similar as using `-s|--simple|-v|--verbose` option on the [command line](/command-line#output).
Similar as using `-s|--simple | -vvv|--verbose` option on the [command line](/command-line#output).

::: code-group
```bash [Simple output]
Expand Down