Skip to content

Commit 8dd1ea8

Browse files
committed
Introduces a quiet mode
1 parent 878a362 commit 8dd1ea8

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

bash_unit

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# shellcheck disable=2317 # Ignore unreachable - most function are not called.
2020
# shellcheck disable=2155 # Ignore Declare and assign separately
2121

22-
VERSION=v2.2.0
22+
VERSION=v2.3.0
2323

2424
ESCAPE=$(printf "\033")
2525
NOCOLOR="${ESCAPE}[0m"

docs/man/man1/bash_unit.1

+11-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
.\" Title: bash_unit
33
.\" Author: [see the "AUTHOR(S)" section]
44
.\" Generator: Asciidoctor 2.0.21
5-
.\" Date: 2024-02-22
5+
.\" Date: 2024-03-05
66
.\" Manual: \ \&
77
.\" Source: \ \&
88
.\" Language: English
99
.\"
10-
.TH "BASH_UNIT" "1" "2024-02-22" "\ \&" "\ \&"
10+
.TH "BASH_UNIT" "1" "2024-03-05" "\ \&" "\ \&"
1111
.ie \n(.g .ds Aq \(aq
1212
.el .ds Aq '
1313
.ss \n[.ss] 0
@@ -77,6 +77,13 @@ command line).
7777
specify an alternative output format.
7878
The only supported value is \fBtap\fP.
7979
.RE
80+
.sp
81+
\fB\-q\fP
82+
.RS 4
83+
quiet mode.
84+
Will only output the status of each test with no further
85+
information even in case of failure.
86+
.RE
8087
.SS "\c .URL "https://pre\-commit.com" "pre\-commit" hook"
8188
.sp
8289
You can run \f(CRbash_unit\fP as a \c
@@ -92,9 +99,10 @@ configuration. By default it will run scripts that are identified as shell scrip
9299
.fam C
93100
repos:
94101
\- repo: https://github.com/pgrange/bash_unit
95-
rev: v1.7.0
102+
rev: v2.2.0
96103
hooks:
97104
\- id: bash\-unit
105+
always\-run: true
98106
.fam
99107
.fi
100108
.if n .RE

0 commit comments

Comments
 (0)