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

Diff for /src/usr.bin/cdio/cdio.c between version 1.31 and 1.32

version 1.31, 2003/10/31 08:47:31 version 1.32, 2004/01/14 07:32:58
Line 214 
Line 214 
 int  int
 main(int argc, char **argv)  main(int argc, char **argv)
 {  {
         int cmd;          int ch, cmd;
         char *arg;          char *arg;
   
         cdname = getenv("DISC");          cdname = getenv("DISC");
Line 225 
Line 225 
         if (!cddb_host)          if (!cddb_host)
                 cddb_host = "freedb.freedb.org";                  cddb_host = "freedb.freedb.org";
   
         for (;;) {          while ((ch = getopt(argc, argv, "svd:f:")) != -1)
                 switch (getopt(argc, argv, "svd:f:")) {                  switch (ch) {
                 case -1:  
                         break;  
                 case 's':                  case 's':
                         verbose = 0;                          verbose = 0;
                         continue;                          break;
                 case 'v':                  case 'v':
                         verbose = 2;                          verbose = 2;
                         continue;                          break;
                 case 'f':                  case 'f':
                         cdname = optarg;                          cdname = optarg;
                         continue;                          break;
                 case 'd':                  case 'd':
                         cddb_host = optarg;                          cddb_host = optarg;
                         continue;                          break;
                 default:                  default:
                         usage();                          usage();
                 }                  }
                 break;  
         }  
         argc -= optind;          argc -= optind;
         argv += optind;          argv += optind;
   

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32