Skip to content

Commit

Permalink
Merge pull request #26 from ImageMarkup/default-to-no-limit
Browse files Browse the repository at this point in the history
Stop limiting downloads by default
  • Loading branch information
danlamanna authored Oct 7, 2022
2 parents 41b2776 + 78885b0 commit 1ec891c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions isic_cli/cli/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ def image(ctx):
'--collections',
default='',
help=(
'Limit the images based on a comma separated string of collection'
'Filter the images based on a comma separated string of collection'
' ids (see isic collection list).'
),
)
@click.option(
'-l',
'--limit',
default=1_000,
default=0,
metavar='INTEGER',
type=IntRange(min=0),
help='Use a value of 0 to disable the limit.',
help='Download at most LIMIT images. Use a value of 0 to download all images.',
)
@click.argument(
'outdir',
Expand Down
6 changes: 3 additions & 3 deletions isic_cli/cli/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,17 @@ def validate(csv_path: Path):
type=CommaSeparatedIdentifiers(),
default='',
help=(
'Limit the images based on a comma separated list of collection ids e.g. 2,17,42. '
'Filter the images based on a comma separated list of collection ids e.g. 2,17,42. '
'See isic collection list to obtain ids.'
),
)
@click.option(
'-l',
'--limit',
default=1_000,
default=0,
metavar='INTEGER',
type=IntRange(min=0),
help='Use a value of 0 to disable the limit.',
help='Download at most LIMIT metadata records. Use a value of 0 to download all records.',
)
@click.option(
'-o',
Expand Down

0 comments on commit 1ec891c

Please sign in to comment.