diff options
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -217,6 +217,11 @@ static int read_and_report(ledger::report_t& report, int argc, char * argv[], *out << expr.calc(report).strip_annotations() << std::endl; return 0; } + else if (verb == "format") { + format_t fmt(*arg); + fmt.dump(*out); + return 0; + } // Parse the initialization file, which can only be textual; then // parse the journal data. |