Skip to content

Commit 3172a45

Browse files
Merge pull request bats-core#1077 from lemeurherveCB/patch-1
doc: add missing "status" word in `--returned-status` documentation
2 parents 261b029 + 80dc68a commit 3172a45

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The format is based on [Keep a Changelog][kac] and this project adheres to
2626
* Fix hyperlink to external Bash resource (#1033)
2727
* Remove mentions to no longer existing `find_library_load_path` in
2828
`lib/bats-core` docstrings (#1032)
29+
* Add missing "status" word in `--returned-status` documentation (#1077)
2930

3031
## [1.11.1] - 2024-11-29
3132

man/bats.7.ronn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ command of interest.
203203

204204
Similarly, --returned-status N (or --returned-status=N) can be used for similar
205205
functionality. This option supports negative values, which always return the
206-
of the command starting from the end and in reverse order.
206+
status of the command starting from the end and in reverse order.
207207

208208
@test "invoking foo piped to bar always return foo status" {
209209
run bats_pipe --returned-status -2 foo \| bar

0 commit comments

Comments
 (0)