Skip to content

Commit

Permalink
ocrd workspace find w/o params should not fail, fix #130
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Jun 27, 2018
1 parent bd89e35 commit be3dc2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ Versioned according to [Semantic Versioning](http://semver.org/).

## Unreleased

Fixed:

* bash 4.3 compat fixes, #131
* `ocrd workspace find` default was wrong, #130

## [0.4.2] - 2018-06-25

Added:
Expand Down
2 changes: 1 addition & 1 deletion ocrd/cli/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def workspace_add_file(ctx, file_grp, file_id, mimetype, group_id, local_filenam
@click.option('-i', '--file-id', help="ID")
@click.option('-L', '--local-only', help="Find only file://-URL files", is_flag=True)
@click.option('-k', '--output-field', help="Output field. Repeat for multiple fields, will be joined with tab",
default='url',
default=['url'],
multiple=True,
type=click.Choice([
'url',
Expand Down

0 comments on commit be3dc2b

Please sign in to comment.