diff options
Diffstat (limited to 'src/textual.cc')
-rw-r--r-- | src/textual.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/textual.cc b/src/textual.cc index 16054445..1c476532 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -810,6 +810,8 @@ void instance_t::apply_directive(char * line) { char * b = next_element(line); string keyword(line); + if (! b) + throw_(parse_error, _f("Directive 'apply %1%' requires an argument") % keyword); if (keyword == "account") apply_account_directive(b); else if (keyword == "tag") |