Changeset 1059

Show
Ignore:
Timestamp:
2005-03-07 15:35:28 (4 years ago)
Author:
conrad
Message:

change the long option name of oggzrip -i from --streamid to --stream-index,
so as not to cause confusion with named track IDs.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • liboggz/trunk/doc/oggzrip.1

    r840 r1059  
    8383.IP "-s \fBserialno\fR, --serialno \fBserialno\fR" 10  
    8484Output streams with given serialno.  
    85 .IP "-i \fBstreamid\fR, --streamid \fBstreamid\fR" 10  
    86 Filter by stream-ID, IDs are assigned to  
     85.IP "-i \fBindex\fR, --stream-index \fBindex\fR" 10  
     86Filter by stream index. These are assigned to  
    8787streams in the order of their BOS pages,  
    8888starting at 0.  
     
    105105\fBoggzdump\fP\fB(1)\fP,  
    106106\fBoggzdiff\fP\fB(1)\fP       
    107 .\" created by instant / docbook-to-man, Sat 05 Feb 2005, 15:44  
     107.\" created by instant / docbook-to-man, Tue 08 Mar 2005, 10:40  
  • liboggz/trunk/doc/oggzrip.1.sgml

    r840 r1059  
    119119        </varlistentry> 
    120120        <varlistentry> 
    121           <term>-i <parameter>streamid</parameter>, --streamid <parameter>streamid</parameter></term> 
    122           <listitem><para>Filter by stream-ID, IDs are assigned to 
     121          <term>-i <parameter>index</parameter>, --stream-index <parameter>index</parameter></term> 
     122          <listitem><para>Filter by stream index. These are assigned to 
    123123                         streams in the order of their BOS pages, 
    124124                         starting at 0. 
  • liboggz/trunk/src/tools/oggzrip.c

    r840 r1059  
    110110  printf ("  -s serialno, --serialno serialno\n"); 
    111111  printf ("                         Output streams with given serialno.\n"); 
    112   printf ("  -i streamid, --streamid streamid\n"); 
    113   printf ("                         Filter by stream-ID, IDs are assigned to\n"); 
     112  printf ("  -i index, --stream-index index\n"); 
     113  printf ("                         Filter by stream index. These are assigned to\n"); 
    114114  printf ("                         streams in the order of their BOS pages,\n"); 
    115115  printf ("                         starting at 0.\n"); 
     
    339339      {"verbose", no_argument, 0, 'V'}, 
    340340      {"serialno", required_argument, 0, 's'}, 
    341       {"streamid", required_argument, 0, 'i'}, 
     341      {"stream-index", required_argument, 0, 'i'}, 
    342342      {"content-type", required_argument, 0, 'c'}, 
    343343      {0,0,0,0} 
     
    377377 
    378378      break; 
    379     case 'i': /* streamid */ 
     379    case 'i': /* stream index */ 
    380380      if (ordata->num_streamids >= MAX_FILTER) { 
    381         fprintf (stderr, "ERROR: too many streamids on command line\n"); 
     381        fprintf (stderr, "ERROR: too many stream indexes on command line\n"); 
    382382        goto exit_err; 
    383383      }