This repository has been archived by the owner on Feb 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Not able to use multiple keys #49
Comments
Oh, it's not optional to given an index column, that's why it's not in the
options. You can comma-separate them to specify more than one. Like
"csvdiff firstname,lastname a.csv b.csv". Try that!
…On Tue, 20 Nov 2018 at 12:11, jainshagun ***@***.***> wrote:
not getting option to use multiple keys'-k':
Usage: csvdiff [OPTIONS] INDEX_COLUMNS FROM_CSV TO_CSV
Compare two csv files to see what rows differ between them. The files are
each expected to have a header row, and for each row to be uniquely
identified by one or more indexing columns.
Options:
--style [compact|pretty|summary]
Instead of the default compact output,
pretty-print or give a summary instead
-o, --output PATH Output to a file instead of stdout
-q, --quiet Don't output anything, just use exit codes
--sep TEXT Separator to use between fields [default:
comma]
-i, --ignore-columns CSV a comma seperated list of columns to ignore
from the comparison
--significance INTEGER Ignore numeric changes less than this
number of significant figures
--help Show this message and exit.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#49>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACMrA-D_TKOswQS6On6Vlgmn2AGE7-Zks5uw-NjgaJpZM4Yq4eC>
.
|
Testing this is seemed to work fine. Perhaps this should be closed as a stale issue? Thanks
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
not getting option to use multiple keys'-k':
Usage: csvdiff [OPTIONS] INDEX_COLUMNS FROM_CSV TO_CSV
Compare two csv files to see what rows differ between them. The files are
each expected to have a header row, and for each row to be uniquely
identified by one or more indexing columns.
Options:
--style [compact|pretty|summary]
Instead of the default compact output,
pretty-print or give a summary instead
-o, --output PATH Output to a file instead of stdout
-q, --quiet Don't output anything, just use exit codes
--sep TEXT Separator to use between fields [default:
comma]
-i, --ignore-columns CSV a comma seperated list of columns to ignore
from the comparison
--significance INTEGER Ignore numeric changes less than this
number of significant figures
--help Show this message and exit.
The text was updated successfully, but these errors were encountered: