[DATabse] Show help instead of menu if redirecting

This commit is contained in:
Matt Nadareski
2016-06-10 02:27:44 -07:00
parent 9e0a2311cb
commit cda7f45479
2 changed files with 8 additions and 1 deletions

View File

@@ -62,7 +62,14 @@ namespace SabreTools
// If there's no arguments, show the menu // If there's no arguments, show the menu
if (args.Length == 0) if (args.Length == 0)
{ {
ShowMainMenu(); if (!Console.IsOutputRedirected)
{
ShowMainMenu();
}
else
{
Build.Help();
}
_logger.Close(); _logger.Close();
return; return;
} }

Binary file not shown.