Return int from sparkcmd

This commit is contained in:
Michael Harding authored and Pedro Pinto committed 2019-02-11 16:48:53 -05:00
1 parent 4747fe5535
commit a384eb9f73
1 file changed
+2 -3
+2 -3
View File
@@ -8,11 +8,10 @@ using System.Linq;
namespace sparkcmd {
class Program {
static void Main(string[] args) {
static int Main(string[] args) {
mbts.config.Configuration.initialize();
var commands = ConsoleCommandDispatcher.FindCommandsInSameAssemblyAs(typeof(Program));
ConsoleCommandDispatcher.DispatchCommand(commands, args, Console.Out);
return;
return ConsoleCommandDispatcher.DispatchCommand(commands, args, Console.Out);
}
}
}