Commit beb6a66c authored by conrad's avatar conrad

change the long option name of oggzrip -i from --streamid to --stream-index,

so as not to cause confusion with named track IDs.


git-svn-id: http://svn.annodex.net/liboggz/trunk@1059 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 2a1bba02
......@@ -82,8 +82,8 @@ the filter options will be included into the output.
.IP "-s \fBserialno\fR, --serialno \fBserialno\fR" 10
Output streams with given serialno.
.IP "-i \fBstreamid\fR, --streamid \fBstreamid\fR" 10
Filter by stream-ID, IDs are assigned to
.IP "-i \fBindex\fR, --stream-index \fBindex\fR" 10
Filter by stream index. These are assigned to
streams in the order of their BOS pages,
starting at 0.
......@@ -104,4 +104,4 @@ Copyright \(co 2005 CSIRO Australia
\fBoggzmerge\fP\fB(1)\fP,
\fBoggzdump\fP\fB(1)\fP,
\fBoggzdiff\fP\fB(1)\fP
.\" created by instant / docbook-to-man, Sat 05 Feb 2005, 15:44
.\" created by instant / docbook-to-man, Tue 08 Mar 2005, 10:40
......@@ -118,8 +118,8 @@ manpage.1: manpage.sgml
<listitem><para>Output streams with given serialno.</para></listitem>
</varlistentry>
<varlistentry>
<term>-i <parameter>streamid</parameter>, --streamid <parameter>streamid</parameter></term>
<listitem><para>Filter by stream-ID, IDs are assigned to
<term>-i <parameter>index</parameter>, --stream-index <parameter>index</parameter></term>
<listitem><para>Filter by stream index. These are assigned to
streams in the order of their BOS pages,
starting at 0.
</para></listitem>
......
......@@ -109,8 +109,8 @@ usage (char * progname)
printf (" the filter options will be included into the output.\n\n");
printf (" -s serialno, --serialno serialno\n");
printf (" Output streams with given serialno.\n");
printf (" -i streamid, --streamid streamid\n");
printf (" Filter by stream-ID, IDs are assigned to\n");
printf (" -i index, --stream-index index\n");
printf (" Filter by stream index. These are assigned to\n");
printf (" streams in the order of their BOS pages,\n");
printf (" starting at 0.\n");
printf (" -c content-type --content-type content-type\n");
......@@ -338,7 +338,7 @@ main (int argc, char * argv[])
{"output", required_argument, 0, 'o'},
{"verbose", no_argument, 0, 'V'},
{"serialno", required_argument, 0, 's'},
{"streamid", required_argument, 0, 'i'},
{"stream-index", required_argument, 0, 'i'},
{"content-type", required_argument, 0, 'c'},
{0,0,0,0}
};
......@@ -376,9 +376,9 @@ main (int argc, char * argv[])
goto exit_err;
break;
case 'i': /* streamid */
case 'i': /* stream index */
if (ordata->num_streamids >= MAX_FILTER) {
fprintf (stderr, "ERROR: too many streamids on command line\n");
fprintf (stderr, "ERROR: too many stream indexes on command line\n");
goto exit_err;
}
if (or_get_long (optarg, currentopt,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment