diff options
author | John Wiegley <johnw@newartisans.com> | 2009-06-18 18:55:42 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-06-18 18:55:42 +0100 |
commit | 269c0ccb7c43220b757e88a0092c2dffe03d1e81 (patch) | |
tree | d6439382d236c1576b755995d95e9d5446198746 /src/global.cc | |
parent | 86dfc1e0be5dbfab195cba8a8be31d3dbf0f68c9 (diff) | |
download | fork-ledger-269c0ccb7c43220b757e88a0092c2dffe03d1e81.tar.gz fork-ledger-269c0ccb7c43220b757e88a0092c2dffe03d1e81.tar.bz2 fork-ledger-269c0ccb7c43220b757e88a0092c2dffe03d1e81.zip |
Added a code comment
Diffstat (limited to 'src/global.cc')
-rw-r--r-- | src/global.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/global.cc b/src/global.cc index 461c6985..c4ed5a8e 100644 --- a/src/global.cc +++ b/src/global.cc @@ -478,6 +478,9 @@ void global_scope_t::normalize_report_options(const string& verb) rep.HANDLER(period_).off(); } + // If -j or -J were specified, set the appropriate format string now so as + // to avoid option ordering issues were we to have done it during the + // initial parsing of the options. if (rep.HANDLED(amount_data)) { rep.HANDLER(format_) .on_with(string("?normalize"), rep.HANDLER(plot_amount_format_).value); |