Skip to content

Commit

Permalink
added dynamic available datasets to add-data help string
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed Aug 6, 2024
1 parent 3c247bb commit c0eedb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xnat4tests/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ def restart_cli(ctx, loglevel):

@cli.command(
name="add-data",
help="""Adds sample data to the XNAT instance
help=f"""Adds sample data to the XNAT instance
DATASET is the name of the dataset to add (out of ['dummydicom'])""",
DATASET is the name of the dataset to add (out of {AVAILABLE_DATASETS})""",
)
@click.argument("dataset", type=click.Choice(AVAILABLE_DATASETS))
@click.option(
Expand Down

0 comments on commit c0eedb3

Please sign in to comment.