File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -480,7 +480,7 @@ installed in order to run any tests).
480
480
# Miscellaneous
481
481
# # OCR-D workspace
482
482
483
- * Create a new (empty) workspace: ` ocrd workspace init workspace-dir`
483
+ * Create a new (empty) workspace: ` ocrd workspace -d workspace-dir init `
484
484
* cd into ` workspace-dir`
485
485
* Add new file to workspace: ` ocrd workspace add file -G group -i id
486
486
-m mimetype -g pageId`
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ def addtoworkspace(wsdir, gtdir):
161
161
162
162
_ , _ , files = os .walk (wsdir ).__next__ ()
163
163
if 'mets.xml' not in files :
164
- initcmd = 'ocrd workspace init {}' .format (wsdir )
164
+ initcmd = 'ocrd workspace -d {} init ' .format (wsdir )
165
165
subprocess_cmd (initcmd )
166
166
167
167
You can’t perform that action at this time.
0 commit comments