Missed a couple spots

This commit is contained in:
Matt Nadareski
2016-05-10 15:57:09 -07:00
parent 969ea4a56d
commit e0d128ba3b

View File

@@ -300,7 +300,7 @@ namespace SabreTools
} }
// If more than one switch is enabled or help is set, show the help screen // If more than one switch is enabled or help is set, show the help screen
if (help || !(add ^ convertMiss ^ convertCMP ^ convertXml ^ extsplit ^ generate ^ genall ^ import ^ listsrc ^ listsys ^ merge ^ rem ^ trim)) if (help || !(add ^ convertMiss ^ convertCMP ^ convertXml ^ extsplit ^ generate ^ genall ^ import ^ listsrc ^ listsys ^ (merge || diff) ^ rem ^ trim))
{ {
Build.Help(); Build.Help();
logger.Close(); logger.Close();
@@ -308,7 +308,7 @@ namespace SabreTools
} }
// If a switch that requires a filename is set and no file is, show the help screen // If a switch that requires a filename is set and no file is, show the help screen
if (inputs.Count == 0 && (convertMiss || convertCMP || convertXml || extsplit || import || merge || trim)) if (inputs.Count == 0 && (convertMiss || convertCMP || convertXml || extsplit || import || (merge || diff) || trim))
{ {
Build.Help(); Build.Help();
logger.Close(); logger.Close();