Skip to content

Commit 82dab7e

Browse files
committed
Format all command line options as code
1 parent 111e656 commit 82dab7e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Account`.
131131

132132
**`--src-account STR`**
133133

134-
similar to --acount option, it is the ledger account used as source for ledger transactions but allows the --account option to be overriden after the config file has been parsed. This is a command-line only option and must not be provided in any section of the config file. Use of this option allows users to treat sections of the config file as generic import recipes that can be used to import all files that use the same layout while providing a means to specify the ledger source account to use during the importing of transactions.
134+
similar to `--acount` option, it is the ledger account used as source for ledger transactions but allows the `--account` option to be overriden after the config file has been parsed. This is a command-line only option and must not be provided in any section of the config file. Use of this option allows users to treat sections of the config file as generic import recipes that can be used to import all files that use the same layout while providing a means to specify the ledger source account to use during the importing of transactions.
135135

136136
**`--clear-screen, -C`**
137137

@@ -301,11 +301,11 @@ will print ledger entries in reverse of their order in the CSV file.
301301

302302
**`--skip-dupes`**
303303

304-
will attempt to detect duplicate transcactions in ledger file by comparing MD5Sum of transactions. The MD5Sum is calculated from the formatted CSV values including the source account. The source account is included to avoid false postives on generic transaction descriptions when the source account is different and thus should not be considered a duplicate. MD5Sum of existing transactions are as a `; MD5Sum: ...` comment in the current ledgerfile (which means your output template will need this comment). This can help if you download statements without using a precise date range. A useful pattern is to include MD5Sum comments for both "sides" of a transaction if you download from multiple sources that resolve to a single transaction (e.g. paying a credit card from checking). Note: use of this flag by itself will detect and skip duplicate entries automatically with no interaction from user. If you want to be prompted and determine whether to skip or not see --confirm-dupes.
304+
will attempt to detect duplicate transcactions in ledger file by comparing MD5Sum of transactions. The MD5Sum is calculated from the formatted CSV values including the source account. The source account is included to avoid false postives on generic transaction descriptions when the source account is different and thus should not be considered a duplicate. MD5Sum of existing transactions are as a `; MD5Sum: ...` comment in the current ledgerfile (which means your output template will need this comment). This can help if you download statements without using a precise date range. A useful pattern is to include MD5Sum comments for both "sides" of a transaction if you download from multiple sources that resolve to a single transaction (e.g. paying a credit card from checking). Note: use of this flag by itself will detect and skip duplicate entries automatically with no interaction from user. If you want to be prompted and determine whether to skip or not see `--confirm-dupes`.
305305

306306
**`--confirm-dupes`**
307307

308-
same as --skip-dupes but will prompt user to indicate if they want the detected duplicate entry to be skipped or treated as a valid entry. This is useful when importing transactions that commonly contain generic descriptions.
308+
same as `--skip-dupes` but will prompt user to indicate if they want the detected duplicate entry to be skipped or treated as a valid entry. This is useful when importing transactions that commonly contain generic descriptions.
309309

310310
**`--skip-lines INT`**
311311

@@ -435,9 +435,9 @@ be mapped to `My Company 1234` and `Income:Salary:Tips`.
435435
Accounts File
436436
--------------
437437

438-
To prevent inconsistencies it is possible to user ledger --strict mode, along
439-
with a file that defines a list of allowable accounts. (See the ledger 3
440-
manual, section 4.6 'Keeping it Consistent')
438+
To prevent inconsistencies it is possible to user ledger `--strict` mode,
439+
along with a file that defines a list of allowable accounts. (See the ledger
440+
3 manual, section 4.6 'Keeping it Consistent')
441441

442442
The accounts file should look like:
443443

0 commit comments

Comments
 (0)