Skip to content

Commit ac92443

Browse files
authored
reordered options
1 parent 7ac8c4b commit ac92443

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

db_diff/cli.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,18 @@
4444
default=None,
4545
help="Directory to save the output file (only used with --output=jsonfile). [default: current directory]",
4646
)
47+
@click.option(
48+
"--fields",
49+
type=str,
50+
default=None,
51+
help="Comma-separated list of fields to compare (all others ignored). Mutually exclusive with --ignorefields. (example: --fields=Id,Name,Age__c,Email__c).",
52+
)
53+
@click.option(
54+
"--ignorefields",
55+
type=str,
56+
default=None,
57+
help="Comma-separated list of fields to ignore during comparison. Mutually exclusive with --fields. (example: --ignorefields=LastModifiedDate,SystemModstamp,Days_Since_Last_Contact__c).",
58+
)
4759
@click.option(
4860
"--showunchanged",
4961
"show_unchanged",
@@ -69,18 +81,6 @@
6981
show_default=True,
7082
help="Input File Encoding. Available: (utf-8|utf-16|utf-16le|utf-16be|latin1|cp1252|ascii|...).",
7183
)
72-
@click.option(
73-
"--fields",
74-
type=str,
75-
default=None,
76-
help="Comma-separated list of fields to compare (all others ignored). Mutually exclusive with --ignorefields. (example: --fields=Id,Name,Age__c,Email__c).",
77-
)
78-
@click.option(
79-
"--ignorefields",
80-
type=str,
81-
default=None,
82-
help="Comma-separated list of fields to ignore during comparison. Mutually exclusive with --fields. (example: --ignorefields=LastModifiedDate,SystemModstamp,Days_Since_Last_Contact__c).",
83-
)
8484
@click.version_option()
8585
def cli(
8686
previous, current, key, input_format,

0 commit comments

Comments
 (0)