Skip to content

Commit

Permalink
Introduces a quiet mode
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrange committed Mar 5, 2024
1 parent 878a362 commit 8dd1ea8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bash_unit
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# shellcheck disable=2317 # Ignore unreachable - most function are not called.
# shellcheck disable=2155 # Ignore Declare and assign separately

VERSION=v2.2.0
VERSION=v2.3.0

ESCAPE=$(printf "\033")
NOCOLOR="${ESCAPE}[0m"
Expand Down
14 changes: 11 additions & 3 deletions docs/man/man1/bash_unit.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: bash_unit
.\" Author: [see the "AUTHOR(S)" section]
.\" Generator: Asciidoctor 2.0.21
.\" Date: 2024-02-22
.\" Date: 2024-03-05
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "BASH_UNIT" "1" "2024-02-22" "\ \&" "\ \&"
.TH "BASH_UNIT" "1" "2024-03-05" "\ \&" "\ \&"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
Expand Down Expand Up @@ -77,6 +77,13 @@ command line).
specify an alternative output format.
The only supported value is \fBtap\fP.
.RE
.sp
\fB\-q\fP
.RS 4
quiet mode.
Will only output the status of each test with no further
information even in case of failure.
.RE
.SS "\c .URL "https://pre\-commit.com" "pre\-commit" hook"
.sp
You can run \f(CRbash_unit\fP as a \c
Expand All @@ -92,9 +99,10 @@ configuration. By default it will run scripts that are identified as shell scrip
.fam C
repos:
\- repo: https://github.com/pgrange/bash_unit
rev: v1.7.0
rev: v2.2.0
hooks:
\- id: bash\-unit
always\-run: true
.fam
.fi
.if n .RE
Expand Down

0 comments on commit 8dd1ea8

Please sign in to comment.