diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-04 20:46:45 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-04 20:46:45 -0400 |
commit | 7d628d88ff54ac08df499406bb87b87c3f8989a3 (patch) | |
tree | dff9bc75f6830425754a0bdc011a28b7c291bde5 /src/session.h | |
parent | 863b5d814443eb791c2dd07250ac0ae29054adb0 (diff) | |
download | fork-ledger-7d628d88ff54ac08df499406bb87b87c3f8989a3.tar.gz fork-ledger-7d628d88ff54ac08df499406bb87b87c3f8989a3.tar.bz2 fork-ledger-7d628d88ff54ac08df499406bb87b87c3f8989a3.zip |
Moved the --pager option to the session object, rather than the report object.
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h index 3c441ef1..c7633a88 100644 --- a/src/session.h +++ b/src/session.h @@ -71,6 +71,7 @@ public: optional<path> init_file; optional<path> cache_file; optional<path> price_db; + optional<path> pager_path; bool next_price_db_from_command_line; bool saw_price_db_from_command_line; @@ -234,6 +235,11 @@ See LICENSE file included with the distribution for details and disclaimer."; data_files.push_back(args[0].as_string()); return true; } + + value_t option_pager_(call_scope_t& args) { // : + pager_path = args[0].as_string(); + return true; + } }; /** |