/// <summary> /// Display the incomplete commands in GitSharp. Primarily for development use. /// </summary> private static void ShowIncomplete() { CommandCatalog catalog = new CommandCatalog(); foreach (CommandRef c in catalog.Incomplete()) { Console.Write(" "); Console.Write(c.getName()); for (int i = c.getName().Length + 8; i < 31; i++) { Console.Write(" "); } Console.Write(c.getUsage()); Console.WriteLine(); } }
/// <summary> /// Display the incomplete commands in GitSharp. Primarily for development use. /// </summary> private static void ShowIncomplete() { CommandCatalog catalog = new CommandCatalog(); foreach (CommandRef c in catalog.Incomplete()) { Console.Write(" "); Console.Write(c.getName()); for (int i = c.getName().Length + 8; i < 31; i++) Console.Write(" "); Console.Write(c.getUsage()); Console.WriteLine(); } }