diff --git a/src/init.cpp b/src/init.cpp index 26e57191..ba6b49ab 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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) {