[SabreTools, README] Add exclude-fields as valid input

This commit is contained in:
Matt Nadareski
2018-03-22 16:50:00 -07:00
parent 25e286bc5d
commit 5449ae6015
2 changed files with 12 additions and 2 deletions

View File

@@ -288,6 +288,10 @@ Options:
If this flag is enabled, then the romof, cloneof, and sampleof tags If this flag is enabled, then the romof, cloneof, and sampleof tags
will be omitted from the outputted DAT. will be omitted from the outputted DAT.
-ef, --exclude-field Exclude a game/rom field from outputs
Exclude any valid item or machine field from outputs. Examples
include: romof, publisher, and offset.
-orpg, --one-rom-per-game Try to ensure each rom has its own game -orpg, --one-rom-per-game Try to ensure each rom has its own game
In some cases, it is beneficial to have every rom put into its own In some cases, it is beneficial to have every rom put into its own
output set as a subfolder of the original parent. This flag enables output set as a subfolder of the original parent. This flag enables
@@ -845,6 +849,10 @@ Options:
If this flag is enabled, then the romof, cloneof, and sampleof tags If this flag is enabled, then the romof, cloneof, and sampleof tags
will be omitted from the outputted DAT. will be omitted from the outputted DAT.
-ef, --exclude-field Exclude a game/rom field from outputs
Exclude any valid item or machine field from outputs. Examples
include: romof, publisher, and offset.
-orpg, --one-rom-per-game Try to ensure each rom has its own game -orpg, --one-rom-per-game Try to ensure each rom has its own game
In some cases, it is beneficial to have every rom put into its own In some cases, it is beneficial to have every rom put into its own
output set as a subfolder of the original parent. This flag enables output set as a subfolder of the original parent. This flag enables

View File

@@ -356,7 +356,7 @@ namespace SabreTools
FeatureType.Flag, FeatureType.Flag,
longDescription: "If this flag is enabled, then the romof, cloneof, and sampleof tags will be omitted from the outputted DAT."); longDescription: "If this flag is enabled, then the romof, cloneof, and sampleof tags will be omitted from the outputted DAT.");
} }
} } // TODO: Remove
private static Feature _extensionFlag private static Feature _extensionFlag
{ {
get get
@@ -1571,7 +1571,7 @@ namespace SabreTools
FeatureType.List, FeatureType.List,
longDescription: "Exclude any valid item or machine field from outputs. Examples include: romof, publisher, and offset."); longDescription: "Exclude any valid item or machine field from outputs. Examples include: romof, publisher, and offset.");
} }
} // TODO: ADD THIS TO USED FLAGS }
private static Feature _extaListInput private static Feature _extaListInput
{ {
get get
@@ -2397,6 +2397,7 @@ Some special strings that can be used:
datFromDir.AddFeature(_commentStringInput); datFromDir.AddFeature(_commentStringInput);
datFromDir.AddFeature(_superdatFlag); datFromDir.AddFeature(_superdatFlag);
datFromDir.AddFeature(_excludeOfFlag); datFromDir.AddFeature(_excludeOfFlag);
datFromDir.AddFeature(_excludeFieldListInput);
datFromDir.AddFeature(_oneRomPerGameFlag); datFromDir.AddFeature(_oneRomPerGameFlag);
datFromDir.AddFeature(_sceneDateStripFlag); datFromDir.AddFeature(_sceneDateStripFlag);
datFromDir.AddFeature(_addBlankFilesFlag); datFromDir.AddFeature(_addBlankFilesFlag);
@@ -2670,6 +2671,7 @@ The stats that are outputted are as follows:
update.AddFeature(_forcenodumpStringInput); update.AddFeature(_forcenodumpStringInput);
update.AddFeature(_forcepackingStringInput); update.AddFeature(_forcepackingStringInput);
update.AddFeature(_excludeOfFlag); update.AddFeature(_excludeOfFlag);
update.AddFeature(_excludeFieldListInput);
update.AddFeature(_oneRomPerGameFlag); update.AddFeature(_oneRomPerGameFlag);
update.AddFeature(_keepEmptyGamesFlag); update.AddFeature(_keepEmptyGamesFlag);
update.AddFeature(_sceneDateStripFlag); update.AddFeature(_sceneDateStripFlag);