diff options
Diffstat (limited to 'src/interactive.cc')
-rw-r--r-- | src/interactive.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interactive.cc b/src/interactive.cc index 9aeb5307..183a84fd 100644 --- a/src/interactive.cc +++ b/src/interactive.cc @@ -143,8 +143,10 @@ void interactive_t::verify_arguments() const if (wrong_arg && optional && next_arg->is_null()) wrong_arg = false; - if (wrong_arg) + if (wrong_arg) { vlabel = next_arg->label(); + break; + } if (! dont_skip) { if (is_seq) { |