Return int from sparkcmd
This commit is contained in:
1 parent
4747fe5535
commit
a384eb9f73
1 file changed
+2
-3
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user