Skip to content

Commit 0711ccd

Browse files
committed
clarification
1 parent dc1a95d commit 0711ccd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/cli.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ Options:
4949
--color / --no-color Force enabling/disabling of color
5050
--max-warnings COUNT Number of warnings to trigger nonzero exit code -
5151
default: 5
52-
--init Write initial configuration file and exit.
52+
--init Write initial configuration file 'xrlint-
53+
config.yaml' and exit.
5354
--version Show the version and exit.
5455
--help Show this message and exit.
5556

xrlint/cli/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from xrlint.cli.constants import (
1212
DEFAULT_MAX_WARNINGS,
1313
DEFAULT_OUTPUT_FORMAT,
14+
DEFAULT_CONFIG_FILE_YAML,
1415
)
1516
from xrlint.version import version
1617

@@ -90,7 +91,7 @@
9091
@click.option(
9192
"--init",
9293
"init_mode",
93-
help="Write initial configuration file and exit.",
94+
help=f"Write initial configuration file '{DEFAULT_CONFIG_FILE_YAML}' and exit.",
9495
is_flag=True,
9596
)
9697
@click.argument("files", nargs=-1)

0 commit comments

Comments
 (0)