Index: Migration/Console/src/Migration.Console/ConsoleBase.cs
===================================================================
diff -u -r1fe151fcfd0dce8fa2c1d93243cae90eee991e70 -rc2d1014f9ad458166d0ccad5800da9f674a8152a
--- Migration/Console/src/Migration.Console/ConsoleBase.cs (.../ConsoleBase.cs) (revision 1fe151fcfd0dce8fa2c1d93243cae90eee991e70)
+++ Migration/Console/src/Migration.Console/ConsoleBase.cs (.../ConsoleBase.cs) (revision c2d1014f9ad458166d0ccad5800da9f674a8152a)
@@ -86,16 +86,9 @@
}
///
- /// Writes all commands to the .
+ /// Writes all other commands to the .
///
- protected virtual void DisplayAllCommands()
- {
- SystemConsole.WriteLine(applicationDescription);
- SystemConsole.WriteLine();
- SystemConsole.WriteLine(string.Concat(applicationName, " ", commandHelpShort));
- SystemConsole.WriteLine(string.Concat(applicationName, " ", commandHelp));
- ConsoleHelper.WriteCommandDescriptionLine(Resources.CommandHelp_Detailed);
- }
+ protected virtual void DisplayCommands() {}
///
/// Executes a command based upon the arguments provided.
@@ -104,6 +97,19 @@
/// Thrown when the command failed.
protected abstract void ExecuteCommand(string[] args);
+ ///
+ /// Writes all commands to the .
+ ///
+ private void DisplayAllCommands()
+ {
+ SystemConsole.WriteLine(applicationDescription);
+ SystemConsole.WriteLine();
+ SystemConsole.WriteLine(string.Concat(applicationName, " ", commandHelpShort));
+ SystemConsole.WriteLine(string.Concat(applicationName, " ", commandHelp));
+ ConsoleHelper.WriteCommandDescriptionLine(Resources.CommandHelp_Detailed);
+ DisplayCommands();
+ }
+
private void ParseCommand(string[] args)
{
string command = args?.FirstOrDefault() ?? commandHelp;