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

Diff for /src/usr.bin/hexdump/odsyntax.c between version 1.22 and 1.23

version 1.22, 2013/11/20 21:21:50 version 1.23, 2014/04/14 22:51:20
Line 90 
Line 90 
         deprecated = 1;          deprecated = 1;
         argv = *argvp;          argv = *argvp;
         while ((ch = getopt(argc, argv,          while ((ch = getopt(argc, argv,
             "A:aBbcDdeFfHhIij:LlN:OoPpst:wvXx")) != -1)              "A:aBbcDdeFfHhIij:LlN:Oot:vXx")) != -1)
                 switch (ch) {                  switch (ch) {
                 case 'A':                  case 'A':
                         switch (*optarg) {                          switch (*optarg) {
Line 177 
Line 177 
                 case 'v':                  case 'v':
                         vflag = ALL;                          vflag = ALL;
                         break;                          break;
                 case 'P':  
                 case 'p':  
                 case 's':  
                 case 'w':  
                 case '?':  
                 default:                  default:
                         warnx("od(1) has been deprecated for hexdump(1).");  
                         if (ch != '?')  
                                 warnx(  
                                     "hexdump(1) compatibility doesn't"  
                                     " support the -%c option%s",  
                                     ch, ch == 's' ? "; see strings(1)." : ".");  
                         oldusage();                          oldusage();
                 }                  }
   

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23