summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-27 02:29:42 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-27 02:31:09 -0600
commit61bc7362ca974543c9b851f8fc81fe981569ad6c (patch)
treef5a5420a6b4fa3cacc4ee3c2a9bddb2ebd6c632b /src/session.h
parent30e8c0bc65a94819d8375c9359d6ce77d908dcfc (diff)
downloadfork-ledger-61bc7362ca974543c9b851f8fc81fe981569ad6c.tar.gz
fork-ledger-61bc7362ca974543c9b851f8fc81fe981569ad6c.tar.bz2
fork-ledger-61bc7362ca974543c9b851f8fc81fe981569ad6c.zip
Added new account/payee/commodity directives
Also added supporting options: --explicit, --permissive, --pedantic, as well as new behavior for --strict.
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h
index b8fd52f2..5d6d4bed 100644
--- a/src/session.h
+++ b/src/session.h
@@ -91,7 +91,10 @@ public:
HANDLER(decimal_comma).report(out);
HANDLER(file_).report(out);
HANDLER(input_date_format_).report(out);
+ HANDLER(explicit).report(out);
HANDLER(master_account_).report(out);
+ HANDLER(pedantic).report(out);
+ HANDLER(permissive).report(out);
HANDLER(price_db_).report(out);
HANDLER(price_exp_).report(out);
HANDLER(strict).report(out);
@@ -139,7 +142,10 @@ public:
set_input_date_format(args.get<string>(1).c_str());
});
+ OPTION(session_t, explicit);
OPTION(session_t, master_account_);
+ OPTION(session_t, pedantic);
+ OPTION(session_t, permissive);
OPTION(session_t, price_db_);
OPTION(session_t, strict);
};