Changeset 1403 for toilet


Ignore:
Timestamp:
Nov 16, 2006, 12:12:58 AM (13 years ago)
Author:
Sam Hocevar
Message:
  • Updated help and manpage.
Location:
toilet/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/doc/toilet.1.in

    r1326 r1403  
    55.B toilet
    66[
    7 .B \-htv
     7.B \-hkostvSW
    88] [
    99.B \-d
     
    6565at build time and usually defaults to
    6666.B @datarootdir@/figlet.
     67.TP
     68.B \-s, \-S, \-k, \-W, \-o
     69Select character composition rules.
     70.B \-S
     71sets smushing (nicely merging glyphs),
     72.B \-k
     73sets kerning (rendering subcharacters as close to each other as possible),
     74.B \-W
     75renders characters at their full width and
     76.B \-o
     77sets overlapping (glyphs slightly overlap the previous one).
     78.B \-s
     79(default behaviour) uses the font's smushing information if any, otherwise
     80forces overlapping, or does nothing if the glyph only has one subcharacter.
    6781.TP
    6882.B \-w, \-\-width <width>
  • toilet/trunk/src/main.c

    r1401 r1403  
    218218#if defined(HAVE_GETOPT_H)
    219219#   define USAGE \
    220     "Usage: toilet [ -htv ] [ -d fontdirectory ]\n" \
     220    "Usage: toilet [ -hkostvSW ] [ -d fontdirectory ]\n" \
    221221    "              [ -f fontfile ] [ -F filter ] [ -w outputwidth ]\n" \
    222222    "              [ -I infocode ] [ -E format ] [ message ]\n"
     
    250250    printf("  -f, --font <name>        select the font\n");
    251251    printf("  -d, --directory <dir>    specify font directory\n");
     252    printf("  -s, -S, -k, -W, -o       render mode (default smushing, force smushing,\n");
     253    printf("                           kerning, full width, overlap)\n");
    252254    printf("  -w, --width <width>      set output width\n");
    253255    printf("  -t, --termwidth          adapt to terminal's width\n");
     
    264266    printf("  -v, --version            output version information and exit\n");
    265267#   else
    266     printf("  -f <name>        select the font\n");
    267     printf("  -d <dir>         specify font directory\n");
    268     printf("  -w <width>       set output width\n");
    269     printf("  -t               adapt to terminal's width\n");
    270     printf("  -F <filters>     apply one or several filters to the text\n");
    271     printf("  -F list          list available filters\n");
    272     printf("  -E <format>      select export format\n");
    273     printf("  -E list          list available export formats\n");
    274     printf("  -h               display this help and exit\n");
    275     printf("  -I <code>        print FIGlet-compatible infocode\n");
    276     printf("  -v               output version information and exit\n");
     268    printf("  -f <name>           select the font\n");
     269    printf("  -d <dir>            specify font directory\n");
     270    printf("  -s, -S, -k, -W, -o  render mode (default smushing, force smushing,\n");
     271    printf("                      kerning, full width, overlap)\n");
     272    printf("  -w <width>          set output width\n");
     273    printf("  -t                  adapt to terminal's width\n");
     274    printf("  -F <filters>        apply one or several filters to the text\n");
     275    printf("  -F list             list available filters\n");
     276    printf("  -E <format>         select export format\n");
     277    printf("  -E list             list available export formats\n");
     278    printf("  -h                  display this help and exit\n");
     279    printf("  -I <code>           print FIGlet-compatible infocode\n");
     280    printf("  -v                  output version information and exit\n");
    277281#   endif
    278282}
Note: See TracChangeset for help on using the changeset viewer.