Skip to content

Commit e0a8381

Browse files
committed
Adds description of QUERY argument to sub-subcommand help
1 parent 6148f99 commit e0a8381

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nf_core/__main__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,7 @@ def test_datasets(ctx):
17621762

17631763

17641764
# nf-core test-dataset search
1765-
@test_datasets.command("search")
1765+
@test_datasets.command("search", short_help="Search files in the nf-core/test-datasets repository")
17661766
@click.pass_context
17671767
@click.option("-b", "--branch", type=str, help="Branch in the test-datasets repository to reduce search to")
17681768
@click.option(
@@ -1782,7 +1782,8 @@ def test_datasets(ctx):
17821782
@click.argument("query", required=False)
17831783
def command_test_dataset_search(ctx, branch, generate_nf_path, generate_dl_url, query):
17841784
"""
1785-
Search files on a specified branch in the nf-core/test-datasets repository.
1785+
Search files filtered by QUERY on a specified branch in the nf-core/test-datasets repository.
1786+
If no QUERY is given or QUERY is ambiguous, an auto-completion form is shown.
17861787
"""
17871788
test_datasets_search(ctx, branch, generate_nf_path, generate_dl_url, query)
17881789

0 commit comments

Comments
 (0)