From ca40ec90f2c793171ac6c74ea459ac8ec0c45518 Mon Sep 17 00:00:00 2001 From: LDDestroier Date: Sat, 25 May 2019 23:08:25 -0400 Subject: [PATCH] Forced API mode if 'shell' is not found --- progdor2.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progdor2.lua b/progdor2.lua index d5c5bc6..f7136dd 100644 --- a/progdor2.lua +++ b/progdor2.lua @@ -353,7 +353,7 @@ end if argList["-h"] then return showHelp(true) -elseif argList["-a"] then +elseif argList["-a"] or (not shell) then mode = "api" elseif inputPath then exists = fs.exists(inputPath)