From c2ed045c7971e7fc2a81031d915b4982999ad3ee Mon Sep 17 00:00:00 2001 From: Jean-Yves Lamoureux Date: Fri, 30 Nov 2007 23:59:57 +0000 Subject: [PATCH] * Added BBCode (French) format to img2txt's help and doc --- doc/img2txt.1 | 1 + src/img2txt.c | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/doc/img2txt.1 b/doc/img2txt.1 index c778049..33e6296 100644 --- a/doc/img2txt.1 +++ b/doc/img2txt.1 @@ -101,6 +101,7 @@ Change output format. This can be one of the following (default to ansi) : html : HTML with CSS and DIV support html3 : Pure HTML3 with tables irc : IRC with ctrl-k codes + bbfr : BBCode (French) ps : Postscript svg : Scalable Vector Graphics tga : Targa Image diff --git a/src/img2txt.c b/src/img2txt.c index 5d90c02..149bf03 100644 --- a/src/img2txt.c +++ b/src/img2txt.c @@ -62,16 +62,17 @@ static void usage(int argc, char **argv) fprintf(stderr, "\t\t\trandom : Random\n"); fprintf(stderr, "\t\t\tfstein : Floyd Steinberg (default)\n"); fprintf(stderr, " -f, --format=FORMAT\t\tFormat of the resulting image :\n"); - fprintf(stderr, "\t\t\tansi : coloured ANSI (default)\n"); - fprintf(stderr, "\t\t\tcaca : internal libcaca format\n"); - fprintf(stderr, "\t\t\tutf8 : UTF8 with CR\n"); - fprintf(stderr, "\t\t\tutf8 : UTF8 with CRLF (MS Windows)\n"); - fprintf(stderr, "\t\t\thtml : HTML with CSS and DIV support\n"); + fprintf(stderr, "\t\t\tansi : coloured ANSI (default)\n"); + fprintf(stderr, "\t\t\tcaca : internal libcaca format\n"); + fprintf(stderr, "\t\t\tutf8 : UTF8 with CR\n"); + fprintf(stderr, "\t\t\tutf8 : UTF8 with CRLF (MS Windows)\n"); + fprintf(stderr, "\t\t\thtml : HTML with CSS and DIV support\n"); fprintf(stderr, "\t\t\thtml3 : Pure HTML3 with tables\n"); - fprintf(stderr, "\t\t\tirc : IRC with ctrl-k codes\n"); - fprintf(stderr, "\t\t\tps : Postscript\n"); - fprintf(stderr, "\t\t\tsvg : Scalable Vector Graphics\n"); - fprintf(stderr, "\t\t\ttga : Targa Image\n\n"); + fprintf(stderr, "\t\t\tirc : IRC with ctrl-k codes\n"); + fprintf(stderr, "\t\t\bbfr : BBCode (French)\n"); + fprintf(stderr, "\t\t\tps : Postscript\n"); + fprintf(stderr, "\t\t\tsvg : Scalable Vector Graphics\n"); + fprintf(stderr, "\t\t\ttga : Targa Image\n\n"); #if !defined(USE_IMLIB2) fprintf(stderr, "NOTE: This program has NOT been built with Imlib2 support. Only BMP loading is supported.\n");