Added the (dummy) option --no-tags which will be implemented later.

This commit is contained in:
Moritz Bunkus 2003-10-02 18:44:09 +00:00
parent 615586954f
commit 725834b7ba
2 changed files with 7 additions and 0 deletions

View File

@ -190,6 +190,9 @@ If the source is a Matroska file then don't copy chapters from it.
\fB\-\-no\-attachments\fR \fB\-\-no\-attachments\fR
If the source is a Matroska file then don't copy attachments from it. If the source is a Matroska file then don't copy attachments from it.
.TP .TP
\fB\-\-no\-tags\fR
If the source is a Matroska file then don't copy tags from it.
.TP
\fB\-y\fR, \fB\-\-sync\fR <\fITID\fR:\fId\fR[,\fIo\fR[/\fIp\fR]]> \fB\-y\fR, \fB\-\-sync\fR <\fITID\fR:\fId\fR[,\fIo\fR[/\fIp\fR]]>
Synchronize manually, delay the audio track with the id \fITID\fR by \fId\fR Synchronize manually, delay the audio track with the id \fITID\fR by \fId\fR
ms. The track IDs are the same as the ones given with \fB\-\-identify\fR (see ms. The track IDs are the same as the ones given with \fB\-\-identify\fR (see

View File

@ -299,6 +299,7 @@ static void usage() {
" -S, --nosubs Don't copy any text track from this file.\n" " -S, --nosubs Don't copy any text track from this file.\n"
" --no-chapters Don't keep chapters from a Matroska file.\n" " --no-chapters Don't keep chapters from a Matroska file.\n"
" --no-attachments Don't keep attachments from a Matroska file.\n" " --no-attachments Don't keep attachments from a Matroska file.\n"
" --no-tags Don't keep tags from a Matroska file.\n"
" -y, --sync <TID:d[,o[/p]]>\n" " -y, --sync <TID:d[,o[/p]]>\n"
" Synchronize, delay the audio track with the\n" " Synchronize, delay the audio track with the\n"
" id TID by d ms. \n" " id TID by d ms. \n"
@ -1441,6 +1442,9 @@ static void parse_args(int argc, char **argv) {
} else if (!strcmp(this_arg, "--no-attachments")) { } else if (!strcmp(this_arg, "--no-attachments")) {
ti.no_attachments = true; ti.no_attachments = true;
} else if (!strcmp(this_arg, "--no-tags")) {
ti.no_tags = true;
} else if (!strcmp(this_arg, "--dump-packets")) { } else if (!strcmp(this_arg, "--dump-packets")) {
if (next_arg == NULL) if (next_arg == NULL)
mxerror("'--dump-packets' lacks the output path.\n"); mxerror("'--dump-packets' lacks the output path.\n");