mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
Fixed warnings linked to the "--dont-link" renaming.
This commit is contained in:
parent
31b867012f
commit
421e942043
@ -1828,14 +1828,15 @@ static void parse_args(int argc, char **argv) {
|
||||
mxexit();
|
||||
}
|
||||
|
||||
if (no_linking) {
|
||||
if ((seguid_link_previous != NULL) || (seguid_link_next != NULL))
|
||||
mxerror("'--dont-link' cannot be used together with "
|
||||
"'--link-to-previous' or '--link-to-next'.\n");
|
||||
|
||||
if (split_after <= 0)
|
||||
mxwarn("'--dont-link' is only useful in combination with '--split'.\n");
|
||||
if (no_linking &&
|
||||
((seguid_link_previous != NULL) || (seguid_link_next != NULL))) {
|
||||
mxwarn("'--link' must be used if '--link-to-previous' or "
|
||||
"'--link-to-next' are used as well. Turning it on.\n");
|
||||
no_linking = false;
|
||||
}
|
||||
if ((split_after <= 0) && !no_linking)
|
||||
mxwarn("'--link', '--link-to-previous' and '--link-to-next' are "
|
||||
"only useful in combination with '--split'.\n");
|
||||
|
||||
for (i = 0; i < attachments.size(); i++) {
|
||||
attachment_sizes_first += attachments[i]->size;
|
||||
|
Loading…
Reference in New Issue
Block a user