浏览代码

bugfix: default should not be interactive (#304)

cocktailpeanut 2 年之前
父节点
当前提交
da5303c1ea
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main.cpp

+ 1 - 1
main.cpp

@@ -867,7 +867,7 @@ int main(int argc, char ** argv) {
     }
 
     // enable interactive mode if reverse prompt is specified
-    if (!antipromptv_inp.size()) {
+    if (antipromptv_inp.size() != 0) {
         params.interactive = true;
     }