summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-22 16:27:24 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-22 16:27:24 -0400
commit0b9f22b4d24e8fa545af2d7d448ddfe9fb3736ba (patch)
tree61bb92dac4a3adc07e6b61a4b7516252fc6abbe1 /src/main.cc
parentccedf7d57f6cc42553f1d80189bf1491df6680e2 (diff)
downloadfork-ledger-0b9f22b4d24e8fa545af2d7d448ddfe9fb3736ba.tar.gz
fork-ledger-0b9f22b4d24e8fa545af2d7d448ddfe9fb3736ba.tar.bz2
fork-ledger-0b9f22b4d24e8fa545af2d7d448ddfe9fb3736ba.zip
Redid the way command-line arguments are processed. Before, Ledger used - and
-- to mean special things after the command verb was seen. But now, what used to be specified as this: ledger -n reg cash -payable -- shell Is now specified as this: ledger reg -n cash not payable @shell It could also be specified as: ledger -n reg \(cash and not payable\) and @shell
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index d6d32b7a..c50284d5 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -102,7 +102,7 @@ namespace ledger {
TRACE_START(arguments, 1, "Processing command-line arguments");
strings_list args;
- process_arguments(argc - 1, argv + 1, false, report, args);
+ process_arguments(argc - 1, argv + 1, report, args);
if (args.empty()) {
ledger::help(std::cout);