ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 4cbba6025f9761339648f1fa83a9a0671b6c4cfa
parent c56cec85f6d437ef4721d32b77cd6333feb1381f
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 16 Aug 2019 12:00:37 +0200

Document the new -q flag (quiet), suppressing output messages.

Diffstat:
MREADME.md | 4+++-
Mansilove.1 | 6++++--
Msrc/ansilove.c | 4++--
3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md @@ -121,7 +121,7 @@ Even more: ## Synopsis ``` - ansilove [-dhirsv] [-b bits] [-c columns] [-f font] [-m mode] [-o file] + ansilove [-dhiqrsv] [-b bits] [-c columns] [-f font] [-m mode] [-o file] [-R factor] file ``` @@ -153,6 +153,8 @@ Even more: -o file Specify output filename/path. + -q Suppress output messages (quiet). + -r Create Retina @2x output file. -R factor Create Retina output file with custom scale factor. diff --git a/ansilove.1 b/ansilove.1 @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 16 2019 $ +.Dd $Mdocdate: August 16 2019 $ .Dt ANSILOVE 1 .Os .Sh NAME @@ -32,7 +32,7 @@ .Nd ANSI / ASCII art to PNG converter .Sh SYNOPSIS .Nm -.Op Fl dhirsv +.Op Fl dhiqrsv .Op Fl b Ar bits .Op Fl c Ar columns .Op Fl f Ar font @@ -135,6 +135,8 @@ Use Amiga Workbench palette. .El .It Fl o Ar file Specify output filename/path. +.It Fl q +Suppress output messages (quiet). .It Fl r Create Retina @2x output file. .It Fl R Ar factor diff --git a/src/ansilove.c b/src/ansilove.c @@ -41,8 +41,8 @@ static void synopsis(void) { fprintf(stdout, "\nSYNOPSIS\n" - " ansilove [-dhirsv] [-b bits] [-c columns] [-f font] [-m mode]" - " [-o file]\n" + " ansilove [-dhiqrsv] [-b bits] [-c columns] [-f font]" + " [-m mode] [-o file]\n" " [-R factor] file\n\n"); }