ansilove

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

commit 59324d18b657e6c9840bba710a1e38fd98588231
parent ccb250375a6c42339380fd424691a198f1be7eeb
Author: Frederic Cambus <fred@statdns.com>
Date:   Tue, 15 Jan 2019 13:18:47 +0100

Make synopsis() only display SYNOPSIS, as it should be.

Diffstat:
Msrc/main.c | 23+++--------------------
1 file changed, 3 insertions(+), 20 deletions(-)

diff --git a/src/main.c b/src/main.c @@ -40,26 +40,9 @@ static void synopsis(void); static void synopsis(void) { - fprintf(stderr, "\nSYNOPSIS:\n" - " ansilove [options] file\n" - " ansilove -e | -h | -v\n\n" - "OPTIONS:\n" - " -b bits set to 9 to render 9th column of block characters (default: 8)\n" - " -c columns adjust number of columns for BIN files (default: 160)\n" - " -d enable DOS aspect ratio\n" - " -f font select font (default: 80x25)\n" - " -h show help\n" - " -i enable iCE colors\n" - " -m mode set rendering mode for ANS files:\n" - " ced black on gray, with 78 columns\n" - " transparent render with transparent background\n" - " workbench use Amiga Workbench palette\n" - " -o file specify output filename/path\n" - " -r creates Retina @2x output file\n" - " -R factor creates Retina output file with custom scale factor\n" - " -s show SAUCE record without generating output\n" - " -v show version information\n" - "\n"); + fprintf(stderr, "\nSYNOPSIS\n" + " ansilove [-dhirsv] [-b bits] [-c columns] [-f font] [-m mode] [-o file]\n" + " [-R factor] file\n\n"); } int