Skip to content

Commit a0236a5

Browse files
authored
made it so that the help text will show if no args are input
1 parent cc9ee68 commit a0236a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

db_diff/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def load(filename, key, input_format, encoding="utf-8"):
4848
context_settings={"help_option_names": ["-h", "--help"]},
4949
help="Compare the differences between two CSV or JSON files to find differences.",
5050
epilog="Example: db-diff old.csv new.csv --key=Id --output=jsonfile --outfilename=diff.json",
51+
no_args_is_help=True,
5152
)
5253
@click.argument(
5354
"previous",

0 commit comments

Comments
 (0)