summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/driver_unified.cpp2
-rw-r--r--src/main/options2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/driver_unified.cpp b/src/main/driver_unified.cpp
index 1922455d6..d1baaa2e9 100644
--- a/src/main/driver_unified.cpp
+++ b/src/main/driver_unified.cpp
@@ -237,7 +237,7 @@ int runCvc4(int argc, char* argv[], Options& opts) {
// Parse and execute commands until we are done
Command* cmd;
bool status = true;
- if(opts[options::interactive]) {
+ if(opts[options::interactive] && inputFromStdin) {
#ifndef PORTFOLIO_BUILD
if(!opts.wasSetByUser(options::incrementalSolving)) {
cmd = new SetOptionCommand("incremental", true);
diff --git a/src/main/options b/src/main/options
index faac6b8f1..35e3df7d2 100644
--- a/src/main/options
+++ b/src/main/options
@@ -7,7 +7,7 @@ module DRIVER "main/options.h" Driver
common-option version -V --version/ bool
identify this CVC4 binary
-alias --license = --version
+undocumented-alias --license = --version
common-option help -h --help/ bool
full command line reference
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback