[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.23 and 1.24

version 1.23, 2014/04/14 22:51:20 version 1.24, 2014/04/15 15:35:24
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:Oot:vXx")) != -1)              "A:aBbcDdeFfHhIij:LlN:Oost:vXx")) != -1)
                 switch (ch) {                  switch (ch) {
                 case 'A':                  case 'A':
                         switch (*optarg) {                          switch (*optarg) {
Line 171 
Line 171 
                 case 'O':                  case 'O':
                         odadd("4/4 \"    %011o \" \"\\n\"");                          odadd("4/4 \"    %011o \" \"\\n\"");
                         break;                          break;
                   case 's':
                           odadd("8/2 \"  %05d \" \"\\n\"");
                           break;
                 case 't':                  case 't':
                         posixtypes(optarg);                          posixtypes(optarg);
                         break;                          break;
Line 294 
Line 297 
 oldusage(void)  oldusage(void)
 {  {
         extern char *__progname;          extern char *__progname;
         fprintf(stderr, "usage: %s [-aBbcDdeFfHhIiLlOovXx] [-A base] "          fprintf(stderr, "usage: %s [-aBbcDdeFfHhIiLlOosvXx] [-A base] "
             "[-j offset] [-N length]\n"              "[-j offset] [-N length]\n"
             "\t[-t type_string] [[+]offset[.][Bb]] [file ...]\n", __progname);              "\t[-t type_string] [[+]offset[.][Bb]] [file ...]\n", __progname);
         exit(1);          exit(1);

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