File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1111from xrlint .cli .constants import (
1212 DEFAULT_MAX_WARNINGS ,
1313 DEFAULT_OUTPUT_FORMAT ,
14+ DEFAULT_CONFIG_FILE_YAML ,
1415)
1516from xrlint .version import version
1617
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 )
You can’t perform that action at this time.
0 commit comments