Skip to content

Commit

Permalink
diff: fine-tune examples
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
jqnatividad committed Sep 10, 2023
1 parent bec8a63 commit 37529ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cmd/diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ Find the difference between two CSVs:
qsv diff left.csv right.csv
Find the difference between two CSVs. The right CSV has no headers:
qsv diff left.csv --no-headers-right right.csv
qsv diff left.csv --no-headers-right right-noheaders.csv
Find the difference between two CSVs. The left CSV uses a tab as the delimiter:
qsv diff --delimiter-left '\t' left.csv right-tab.csv
qsv diff --delimiter-left '\t' left.csv right-tab.tsv
# or ';' as the delimiter
qsv diff --delimiter-left ';' left.csv right-semicolon.csv
Find the difference between two CSVs, but only for the first two columns:
qsv diff -k 0,1 left.csv right.csv
qsv diff --key 0,1 left.csv right.csv
Find the difference between two CSVs, but only for the first two columns and
sort the result by the first and second column:
Expand Down

0 comments on commit 37529ee

Please sign in to comment.