;doc:csv: drop outdated note about auto-creation of rules files
This commit is contained in:
parent
c7dd1fcc2f
commit
37881b76fc
@ -2857,12 +2857,10 @@ layout, date format etc.), how to construct hledger transactions from
|
|||||||
it, and how to categorise transactions based on description or other
|
it, and how to categorise transactions based on description or other
|
||||||
attributes.
|
attributes.
|
||||||
|
|
||||||
By default hledger looks for a rules file named like the CSV file with
|
By default, hledger expects this rules file to be named like the CSV file,
|
||||||
an extra `.rules` extension, in the same directory. Eg when asked to
|
with an extra `.rules` extension added, in the same directory.
|
||||||
read `foo/FILE.csv`, hledger looks for `foo/FILE.csv.rules`.
|
Eg when asked to read `foo/FILE.csv`, hledger looks for `foo/FILE.csv.rules`.
|
||||||
You can specify a different rules file with the `--rules-file` option.
|
You can specify a different rules file with the `--rules-file` option.
|
||||||
If no rules file is found, hledger will create a sample rules file,
|
|
||||||
which you'll need to adjust.
|
|
||||||
|
|
||||||
At minimum, the rules file must identify the date and amount fields,
|
At minimum, the rules file must identify the date and amount fields,
|
||||||
and often it also specifies the date format and how many header lines
|
and often it also specifies the date format and how many header lines
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user