[BACK]Return to vis.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / vis

Diff for /src/usr.bin/vis/vis.c between version 1.13 and 1.14

version 1.13, 2010/08/21 19:00:50 version 1.14, 2010/08/24 23:49:06
Line 53 
Line 53 
         FILE *fp;          FILE *fp;
         int ch;          int ch;
   
         while ((ch = getopt(argc, argv, "anwctshobfF:ld")) != -1)          while ((ch = getopt(argc, argv, "anwctsobfF:ld")) != -1)
                 switch((char)ch) {                  switch((char)ch) {
                 case 'a':                  case 'a':
                         eflags |= VIS_ALL;                          eflags |= VIS_ALL;
Line 73 
Line 73 
                 case 's':                  case 's':
                         eflags |= VIS_SAFE;                          eflags |= VIS_SAFE;
                         break;                          break;
                 case 'h':  
                         eflags |= VIS_HEX;  
                         break;  
                 case 'o':                  case 'o':
                         eflags |= VIS_OCTAL;                          eflags |= VIS_OCTAL;
                         break;                          break;
Line 175 
Line 172 
 {  {
         extern char *__progname;          extern char *__progname;
   
         fprintf(stderr, "usage: %s [-abcfhlnostw] [-F foldwidth] [file ...]\n",          fprintf(stderr, "usage: %s [-abcflnostw] [-F foldwidth] [file ...]\n",
             __progname);              __progname);
         exit(1);          exit(1);
 }  }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14