X-Git-Url: https://git.armaanb.net/?p=gen-shell.git;a=blobdiff_plain;f=src%2Fmain.cpp;h=bdac9343c39510adee35ca325bf41ee5b77acd87;hp=269d7394fe5868a86770ae7c9b7a53ac9b8c43f9;hb=889d7af2ebb3991457adedf94260ac28ec691f1a;hpb=eb1e18ee5dc8235e48dd5184f60c13c33cad6add diff --git a/src/main.cpp b/src/main.cpp index 269d739..bdac934 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -42,7 +42,7 @@ // tasksh commands. int cmdHelp (); int cmdDiagnostics (); -int cmdReview (const std::vector &, bool); +// int cmdReview (const std::vector &, bool); int cmdShell (const std::vector &); 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 != "")