Skip to content

Commit 4713ff2

Browse files
committed
Add: config option alias.
1 parent 06d3ee4 commit 4713ff2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cmdcomp/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def run(cls, args: list[str] | None = None) -> None:
4343

4444
parser.add_argument(
4545
"--file",
46+
"--config",
4647
"-f",
4748
required=True,
4849
type=FileType("rb"),

docs/data/help.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Options:
88
--version show program's version number and exit
99
--verbose, --no-verbose
1010
output verbose log.
11-
--file, -f FILE config file path. supported formats are ".json",
11+
--file, --config, -f FILE
12+
config file path. supported formats are ".json",
1213
".yaml", ".toml" and ".jinja".
1314
--shell-type {bash,zsh}
1415
target shell type.

0 commit comments

Comments
 (0)