]> git.armaanb.net Git - gen-shell.git/blobdiff - src/main.cpp
modified cmake
[gen-shell.git] / src / main.cpp
index 269d7394fe5868a86770ae7c9b7a53ac9b8c43f9..bdac9343c39510adee35ca325bf41ee5b77acd87 100644 (file)
@@ -42,7 +42,7 @@
 // tasksh commands.
 int cmdHelp ();
 int cmdDiagnostics ();
-int cmdReview (const std::vector <std::string>&, bool);
+// int cmdReview (const std::vector <std::string>&, bool);
 int cmdShell (const std::vector <std::string>&);
 std::string promptCompose ();
 std::string findTaskwarrior ();
@@ -117,7 +117,7 @@ static int commandLoop (bool autoClear)
     else if (closeEnough ("quit",        args[0], 3)) status = -1;
     else if (closeEnough ("help",        args[0], 3)) status = cmdHelp ();
     else if (closeEnough ("diagnostics", args[0], 3)) status = cmdDiagnostics ();
-    else if (closeEnough ("review",      args[0], 3)) status = cmdReview (args, autoClear);
+    // else if (closeEnough ("review",      args[0], 3)) status = cmdReview (args, autoClear);
     else if (closeEnough ("exec",        args[0], 3) ||
              args[0][0] == '!')                       status = cmdShell (args);
     else if (command != "")