summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2011-10-08 12:37:31 +0000
committerChris Wilson <chris+github@qwirx.com>2011-10-08 12:37:31 +0000
commit7d5a01b3af76ecb46a7f131ce984e7c4265a0d30 (patch)
treec8e5dd9fcea08a901d841679acb740f3630efb9f
parent79ea9acc7ab54b22ec4f453b75b372fc96152562 (diff)
Only advertise -E option if readline support is built in.
-rw-r--r--bin/bbackupquery/bbackupquery.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/bbackupquery/bbackupquery.cpp b/bin/bbackupquery/bbackupquery.cpp
index a89fba5f..3d73093f 100644
--- a/bin/bbackupquery/bbackupquery.cpp
+++ b/bin/bbackupquery/bbackupquery.cpp
@@ -74,7 +74,8 @@ void PrintUsageAndExit()
" -w Read/write mode, allow changes to store\n"
#ifdef WIN32
" -u Enable Unicode console, requires font change to Lucida Console\n"
-#else // !WIN32
+#endif
+#ifdef HAVE_LIBREADLINE
" -E Disable interactive command editing, may fix entering intl chars\n"
#endif
" -c <file> Use the specified configuration file. If -c is omitted, the last\n"