Skip to content

Commit

Permalink
expose imagefilename workspace validation option to cli, #309
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Sep 23, 2019
1 parent 0410153 commit 774af2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocrd/ocrd/cli/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def workspace_cli(ctx, directory, mets_basename, backup):
''')
@pass_workspace
@click.option('-a', '--download', is_flag=True, help="Download all files")
@click.option('-s', '--skip', help="Tests to skip", default=[], multiple=True, type=click.Choice(['mets_unique_identifier', 'mets_file_group_names', 'mets_files', 'pixel_density', 'page', 'url']))
@click.option('-s', '--skip', help="Tests to skip", default=[], multiple=True, type=click.Choice(['imagefilename', 'mets_unique_identifier', 'mets_file_group_names', 'mets_files', 'pixel_density', 'page', 'url']))
@click.option('--page-strictness', help="How strict to check PAGE consistency", type=click.Choice(['strict', 'lax', 'fix', 'off']), default='strict')
@click.argument('mets_url')
def validate_workspace(ctx, mets_url, download, skip, page_strictness):
Expand Down

0 comments on commit 774af2a

Please sign in to comment.