summaryrefslogtreecommitdiff
path: root/option.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-27 20:37:21 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-27 20:37:21 -0400
commite14d7b6e543850bae6c46f01a80b11c41ea383cf (patch)
tree7e6d191cadc7aff167fae2c8cadf3edce6a513d3 /option.cc
parent0c76ac5b8f962525d20228f7fa3a7ec3d3d40ea7 (diff)
downloadfork-ledger-e14d7b6e543850bae6c46f01a80b11c41ea383cf.tar.gz
fork-ledger-e14d7b6e543850bae6c46f01a80b11c41ea383cf.tar.bz2
fork-ledger-e14d7b6e543850bae6c46f01a80b11c41ea383cf.zip
Cleaned up the value expression code a bit before undertaking the real work of
getting everything back up to what it was (plus the new code written for 3.0).
Diffstat (limited to 'option.cc')
-rw-r--r--option.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/option.cc b/option.cc
index d4de29de..103e960e 100644
--- a/option.cc
+++ b/option.cc
@@ -888,25 +888,25 @@ OPT_BEGIN(download, "Q") {
} OPT_END(download);
OPT_BEGIN(quantity, "O") {
- ledger::amount_expr = "@a";
- ledger::total_expr = "@O";
+ ledger::amount_expr = "a";
+ ledger::total_expr = "O";
} OPT_END(quantity);
OPT_BEGIN(basis, "B") {
- ledger::amount_expr = "@b";
- ledger::total_expr = "@B";
+ ledger::amount_expr = "b";
+ ledger::total_expr = "B";
} OPT_END(basis);
OPT_BEGIN(price, "I") {
- ledger::amount_expr = "@i";
- ledger::total_expr = "@I";
+ ledger::amount_expr = "i";
+ ledger::total_expr = "I";
} OPT_END(price);
OPT_BEGIN(market, "V") {
report->show_revalued = true;
- ledger::amount_expr = "@v";
- ledger::total_expr = "@V";
+ ledger::amount_expr = "v";
+ ledger::total_expr = "V";
} OPT_END(market);
namespace {