init: Formatting fix

This commit is contained in:
Paul Beckingham 2016-03-04 23:57:35 -05:00
parent aa9fdee45d
commit b99d2b6331

View file

@ -181,17 +181,17 @@ int dispatchCommand (
autoComplete (argv[1], allCommands, matches);
if (matches.size () == 1)
{
// These signatures are æxpected to be all different, therefore no
// command to fn mapping.
if (closeEnough (allCommands[0], argv[1], 2)) status = CmdHelp ();
else if (closeEnough (allCommands[1], argv[1], 2)) status = CmdClear ();
else if (closeEnough (allCommands[2], argv[1], 2)) status = CmdDefine (rules);
else if (closeEnough (allCommands[3], argv[1], 2)) status = CmdExport ();
else if (closeEnough (allCommands[4], argv[1], 2)) status = CmdImport ();
else if (closeEnough (allCommands[5], argv[1], 2)) status = CmdReport ();
else if (closeEnough (allCommands[6], argv[1], 2)) status = CmdStart ();
else if (closeEnough (allCommands[7], argv[1], 2)) status = CmdStop ();
else if (closeEnough (allCommands[8], argv[1], 2)) status = CmdTrack ();
// These signatures are æxpected to be all different, therefore no
// command to fn mapping.
if (closeEnough (allCommands[0], argv[1], 2)) status = CmdHelp ();
else if (closeEnough (allCommands[1], argv[1], 2)) status = CmdClear ();
else if (closeEnough (allCommands[2], argv[1], 2)) status = CmdDefine (rules);
else if (closeEnough (allCommands[3], argv[1], 2)) status = CmdExport ();
else if (closeEnough (allCommands[4], argv[1], 2)) status = CmdImport ();
else if (closeEnough (allCommands[5], argv[1], 2)) status = CmdReport ();
else if (closeEnough (allCommands[6], argv[1], 2)) status = CmdStart ();
else if (closeEnough (allCommands[7], argv[1], 2)) status = CmdStop ();
else if (closeEnough (allCommands[8], argv[1], 2)) status = CmdTrack ();
}
else if (matches.size () == 0)
{