Skip to content

Commit

Permalink
Merge pull request #197 from tegonal/improve/checks.docs
Browse files Browse the repository at this point in the history
fix typo lastname => last name
  • Loading branch information
robstoll authored Oct 4, 2024
2 parents d1b8116 + 2a9eaa5 commit e83c86c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,7 @@ function foo() {
# shellcheck disable=SC2317 # is passed by name to exitIfArgIsNotArrayWithTuples
function describePair() {
echo >&2 "array contains 2-tuples with names where the first value is the first-, and the second the lastname"
echo >&2 "array contains 2-tuples with names where the first value is the first-, and the second the last name"
}
# check array with 2-tuples
exitIfArgIsNotArrayWithTuples arr 2 "names" 1 describePair
Expand Down
2 changes: 1 addition & 1 deletion src/utility/checks.doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function foo() {

# shellcheck disable=SC2317 # is passed by name to exitIfArgIsNotArrayWithTuples
function describePair() {
echo >&2 "array contains 2-tuples with names where the first value is the first-, and the second the lastname"
echo >&2 "array contains 2-tuples with names where the first value is the first-, and the second the last name"
}
# check array with 2-tuples
exitIfArgIsNotArrayWithTuples arr 2 "names" 1 describePair
Expand Down
2 changes: 1 addition & 1 deletion src/utility/checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#
# # shellcheck disable=SC2317 # is passed by name to exitIfArgIsNotArrayWithTuples
# function describePair() {
# echo >&2 "array contains 2-tuples with names where the first value is the first-, and the second the lastname"
# echo >&2 "array contains 2-tuples with names where the first value is the first-, and the second the last name"
# }
# # check array with 2-tuples
# exitIfArgIsNotArrayWithTuples arr 2 "names" 1 describePair
Expand Down

0 comments on commit e83c86c

Please sign in to comment.