/[pcre]/code/trunk/pcregrep.c
ViewVC logotype

Diff of /code/trunk/pcregrep.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 286 by ph10, Mon Dec 17 14:46:11 2007 UTC revision 296 by ph10, Tue Jan 1 20:09:30 2008 UTC
# Line 1579  for (op = optionlist; op->one_char != 0; Line 1579  for (op = optionlist; op->one_char != 0;
1579    int n;    int n;
1580    char s[4];    char s[4];
1581    if (op->one_char > 0) sprintf(s, "-%c,", op->one_char); else strcpy(s, "   ");    if (op->one_char > 0) sprintf(s, "-%c,", op->one_char); else strcpy(s, "   ");
1582    printf("  %s --%s%n", s, op->long_name, &n);    n = 30 - printf("  %s --%s", s, op->long_name);
   n = 30 - n;  
1583    if (n < 1) n = 1;    if (n < 1) n = 1;
1584    printf("%.*s%s\n", n, "                    ", op->help_text);    printf("%.*s%s\n", n, "                    ", op->help_text);
1585    }    }

Legend:
Removed from v.286  
changed lines
  Added in v.296

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12