- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1
Command
csvdiff3 {lhs_file_name} {rhs_file_name} {options}| Argument | Description | 
|---|---|
| lhs_file_name | Absolute/Relative path to left-hand side file. | 
| rhs_file_name | Absolute/Relative path to right-hand side file. | 
| options | Optional arguments. | 
| Option | Description | Default | |
| short | long | e.g. | |
| -h | --help | Show help message and exit. | |
| e.g. csvdiff3 -h | |||
| --version | Show program’s version number and exit. | ||
| e.g. csvdiff3 --version | |||
| -k | --matching-keys | Matching key indices for Input CSV in CSV format. Matching key index is 0 based.  For non-fixed length numbers, specify the number of digits after  | 0 | 
| e.g. csvdiff3 left.csv right.csv -k 1
csvdiff3 left.csv right.csv -k 0,1
csvdiff3 left.csv right.csv -k 0:8,3
csvdiff3 left.csv right.csv -k 0:8,3:5 | |||
| -u | --unique-key | Specify if the matching key is unique. | False | 
| e.g. csvdiff3 left.csv right.csv -u | |||
| -i | --ignore-columns | Specify the index of the column to be ignored in CSV format. Column index is 0 based. | [] | 
| e.g. csvdiff3 left.csv right.csv -i 4
csvdiff3 left.csv right.csv -i 4,6 | |||
| -d | --show-difference-only | Report the lines with the difference. | False | 
| e.g. csvdiff3 left.csv right.csv -d | |||
| -a | --show-all-lines | Report on all lines. | False | 
| e.g. csvdiff3 left.csv right.csv -a | |||
| -c | --show-count | Report the number of differences. | False | 
| e.g. csvdiff3 left.csv right.csv -c
(↑ This is equivalent to no options ↓)
csvdiff3 left.csv right.csv | |||
| -v | --vertical-style | Report in vertical style. | False | 
| e.g. csvdiff3 left.csv right.csv -v | |||
| -H | --header | If specified, this specification will be enforced. 
 | None | 
| e.g. csvdiff3 left.csv right.csv -H n
csvdiff3 left.csv right.csv -H y | |||
| -x | --show-context-from-arguments | Report the context | False | 
| e.g. csvdiff3 left.csv right.csv -x | |||