From eed99acfee278a73249e8ad74d7749c20ebad1cb Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 13 Aug 2004 04:30:36 -0400 Subject: long options are now supported --- textual.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'textual.cc') diff --git a/textual.cc b/textual.cc index 7970c23a..d2685a00 100644 --- a/textual.cc +++ b/textual.cc @@ -2,6 +2,7 @@ #include "autoxact.h" #include "valexpr.h" #include "error.h" +#include "option.h" #include #include @@ -470,6 +471,16 @@ unsigned int parse_textual_journal(std::istream& in, journal_t * journal, linenum++; break; + case ':': { // option setting + std::string opt; + in >> c; + in >> opt; + in.getline(line, MAX_LINE); + linenum++; + process_option(opt, line + 1); + break; + } + case '=': // automated transactions parse_automated_transactions(in, account_stack.front(), auto_xacts); break; -- cgit v1.2.3