Просмотр исходного кода

bugfix: default should not be interactive (#304)

cocktailpeanut 2 лет назад
Родитель
Сommit
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;
     }