diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index ce8cd219c..3e67f5136 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -6317,6 +6317,16 @@ using the [market prices](#p-directive) in effect on the *valuation date(s)*, if Use this when you want to (eg) show everything in your base currency as far as possible. (Commodities for which no conversion rate can be found, will not be converted.) +COMM should be the full commodity symbol or name. +Remember to quote [special shell characters](#special-characters), if needed. +Some examples: + +- `-X€` +- `-X$` (nothing after $, no quoting needed) +- `-X CNY` +- `-X 'red apples'` (space needs quoting) +- `-X 'r&r'` (& needs quoting) + ## -V: Value in default commodity(s) The `-V/--market` flag is a variant of `-X` where you don't have to specify COMM.