From 269c0ccb7c43220b757e88a0092c2dffe03d1e81 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 18 Jun 2009 18:55:42 +0100 Subject: Added a code comment --- src/global.cc | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3