summaryrefslogtreecommitdiff
path: root/src/main/interactive_shell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/interactive_shell.cpp')
-rw-r--r--src/main/interactive_shell.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/interactive_shell.cpp b/src/main/interactive_shell.cpp
index 63a60c7a2..90229861f 100644
--- a/src/main/interactive_shell.cpp
+++ b/src/main/interactive_shell.cpp
@@ -192,7 +192,7 @@ restart:
free(lineBuf);
#endif /* HAVE_LIBREADLINE */
} else {
- if(d_options[options::verbosity] >= 0) {
+ if(d_options[options::interactivePrompt]) {
if(line == "") {
d_out << "CVC4> " << flush;
} else {
@@ -260,7 +260,7 @@ restart:
input[n] = '\n';
if(d_usingReadline) {
#if HAVE_LIBREADLINE
- lineBuf = ::readline(d_options[options::verbosity] >= 0 ? "... > " : "");
+ lineBuf = ::readline(d_options[options::interactivePrompt] ? "... > " : "");
if(lineBuf != NULL && lineBuf[0] != '\0') {
::add_history(lineBuf);
}
@@ -268,7 +268,7 @@ restart:
free(lineBuf);
#endif /* HAVE_LIBREADLINE */
} else {
- if(d_options[options::verbosity] >= 0) {
+ if(d_options[options::interactivePrompt]) {
d_out << "... > " << flush;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback