Skip to content

Commit f0e9e93

Browse files
committed
added help messages
1 parent 8656eb0 commit f0e9e93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commit0/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def build(
7777
),
7878
dataset_split: str = typer.Option("test", help="Split of the Huggingface dataset"),
7979
num_workers: int = typer.Option(8, help="Number of workers"),
80-
verbose: Annotated[int, typer.Option("--verbose", "-v", help="Set this to 2 for more logging information", count=True)] = 1,
80+
verbose: int = typer.Option(1, "--verbose", "-v", help="Set this to 2 for more logging information", count=True),
8181
) -> None:
8282
"""Commit0 build a repository."""
8383
check_valid(repo_split, SPLIT)
@@ -134,7 +134,7 @@ def test(
134134
reference: Annotated[
135135
bool, typer.Option("--reference", help="Test the reference commit.")
136136
] = False,
137-
verbose: Annotated[int, typer.Option("--verbose", "-v", count=True)] = 1
137+
verbose: int = typer.Option(1, "--verbose", "-v", help="Set this to 2 for more logging information", count=True),
138138
) -> None:
139139
"""Run tests on a Commit0 repository."""
140140
if repo_or_repo_path.endswith("/"):

0 commit comments

Comments
 (0)