[SabreTools] Make help output be cleaner

This commit is contained in:
Matt Nadareski
2018-01-08 09:29:07 -08:00
parent 216a68610e
commit 4f11625acd
3 changed files with 2149 additions and 1432 deletions

View File

@@ -758,7 +758,7 @@ Options:
Add a new column or field for counting the number of nodumps in the Add a new column or field for counting the number of nodumps in the
DAT DAT
-si, --single Show individual statistics -ind, --individual Show individual statistics
Optionally, the statistics for each of the individual input DATs can Optionally, the statistics for each of the individual input DATs can
be output as well. This can be useful to show where the size or be output as well. This can be useful to show where the size or
amount of files found in the combined totals can be broken down from amount of files found in the combined totals can be broken down from
@@ -1166,7 +1166,7 @@ Options:
This flag enables updating of machine descriptions from base This flag enables updating of machine descriptions from base
DATs DATs
-uy, --update-years Update machine years from base DATs -uy, --update-year Update machine years from base DATs
This flag enables updating of machine years from base This flag enables updating of machine years from base
DATs DATs

File diff suppressed because it is too large Load Diff

View File

@@ -83,6 +83,7 @@ namespace SabreTools
depot = false, depot = false,
descAsName = false, descAsName = false,
hashOnly = false, hashOnly = false,
individual = false,
inplace = false, inplace = false,
inverse = false, inverse = false,
nostore = false, nostore = false,
@@ -281,6 +282,9 @@ namespace SabreTools
case "ignore-chd": case "ignore-chd":
chdsAsFiles = true; chdsAsFiles = true;
break; break;
case "individual":
individual = true;
break;
case "inplace": case "inplace":
inplace = true; inplace = true;
break; break;
@@ -736,7 +740,7 @@ namespace SabreTools
// Get statistics on input files // Get statistics on input files
case "Stats": case "Stats":
VerifyInputs(inputs, feature); VerifyInputs(inputs, feature);
InitStats(inputs, datHeader.FileName, outDir, filter.Single, showBaddumpColumn, showNodumpColumn, statDatFormat); InitStats(inputs, datHeader.FileName, outDir, individual, showBaddumpColumn, showNodumpColumn, statDatFormat);
break; break;
// Convert, update, merge, diff, and filter a DAT or folder of DATs // Convert, update, merge, diff, and filter a DAT or folder of DATs
case "Update": case "Update":