summaryrefslogtreecommitdiff
path: root/src/interactive.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interactive.h')
-rw-r--r--src/interactive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interactive.h b/src/interactive.h
index 766953ec..a2c64ffb 100644
--- a/src/interactive.h
+++ b/src/interactive.h
@@ -73,7 +73,7 @@ public:
void verify_arguments() const;
bool has(std::size_t index) const {
- if (index < args.size())
+ if (index < args.size() && ! args[index].is_null())
return true;
return false;
}