[DatTools] Add skip for first cascade diff output

Flag enables first output DAT to skip output for instances where the first DAT is always known or is very large
This commit is contained in:
Matt Nadareski
2016-08-11 10:49:35 -07:00
parent cb1b006d91
commit 304af7d3b1
4 changed files with 22 additions and 21 deletions

View File

@@ -347,6 +347,10 @@ namespace SabreTools
case "--superdat":
superdat = true;
break;
case "-sf":
case "--skip":
skip = true;
break;
case "-si":
case "--single":
single = true;
@@ -359,9 +363,6 @@ namespace SabreTools
case "--stats":
stats = true;
break;
case "--skip":
skip = true;
break;
case "-trim":
trim = true;
break;
@@ -573,12 +574,6 @@ namespace SabreTools
}
}
// If skip is set, it's being called from the UI so we just exit
if (skip)
{
return;
}
// If help is set, show the help screen
if (help)
{
@@ -647,7 +642,7 @@ namespace SabreTools
{
InitUpdate(inputs, filename, name, description, rootdir, category, version, date, author, email, homepage, url, comment, header,
superdat, forcemerge, forcend, forcepack, outputCMP, outputMiss, outputRC, outputSD, outputXML, usegame, prefix,
postfix, quotes, repext, addext, datprefix, romba, tsv, merge, diff, cascade, inplace, bare, gamename, romname,
postfix, quotes, repext, addext, datprefix, romba, tsv, merge, diff, cascade, inplace, skip, bare, gamename, romname,
romtype, sgt, slt, seq, crc, md5, sha1, nodump, trim, single, root, outdir, clean, softlist, dedup);
}