Index: Migration/Console/src/Migration.Console/ConsoleBase.cs =================================================================== diff -u -r537365058e32a819778930017608a6b874c89f02 -r64104dbd1703c0a2eadefd2a7833291eaad7d2d5 --- Migration/Console/src/Migration.Console/ConsoleBase.cs (.../ConsoleBase.cs) (revision 537365058e32a819778930017608a6b874c89f02) +++ Migration/Console/src/Migration.Console/ConsoleBase.cs (.../ConsoleBase.cs) (revision 64104dbd1703c0a2eadefd2a7833291eaad7d2d5) @@ -49,10 +49,12 @@ { throw new ArgumentNullException(nameof(applicationName)); } + if (applicationDescription == null) { throw new ArgumentNullException(nameof(applicationDescription)); } + this.applicationName = applicationName; this.applicationDescription = applicationDescription; } @@ -79,6 +81,7 @@ Exit(ErrorCode.ErrorBadCommand); return; } + Exit(ErrorCode.ErrorInvalidCommandLine); return; } @@ -119,6 +122,7 @@ DisplayAllCommands(); return; } + ExecuteCommand(args); } @@ -134,6 +138,7 @@ { ConsoleHelper.WriteErrorLine(Resources.Message_Inner_Exception_0, exception.InnerException.Message); } + SystemConsole.WriteLine(); } }