summaryrefslogtreecommitdiff
path: root/src/interactive.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/interactive.cc')
-rw-r--r--src/interactive.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interactive.cc b/src/interactive.cc
index d0baf07a..9aeb5307 100644
--- a/src/interactive.cc
+++ b/src/interactive.cc
@@ -122,6 +122,10 @@ void interactive_t::verify_arguments() const
label = _("a scope");
wrong_arg = ! next_arg->is_scope();
break;
+ case 'X':
+ label = _("an expression");
+ wrong_arg = ! next_arg->is_expr();
+ break;
case 'S':
label = _("a sequence");
wrong_arg = false;