summaryrefslogtreecommitdiff
path: root/src/commodity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commodity.h')
-rw-r--r--src/commodity.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/commodity.h b/src/commodity.h
index 8121199a..c15a32f0 100644
--- a/src/commodity.h
+++ b/src/commodity.h
@@ -567,7 +567,9 @@ public:
commodity_t * find_or_create(commodity_t& comm,
const annotation_t& details);
- void parse_commodity_price(char * optarg);
+ commodity_t * parse_commodity_prices(const std::string& str,
+ const bool add_prices = true,
+ const optional<datetime_t>& moment = none);
};
} // namespace ledger