Skip to content

Commit ad22329

Browse files
committed
use --xsize instead of --x_size
(cherry picked from commit 94b8988)
1 parent 31c48a0 commit ad22329

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/training/tesstrain.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ echo -e "USAGE: tesstrain.sh
2828
--run_shape_clustering # Run shape clustering (use for Indic langs).
2929
--maxpages # Specify maximum pages to output (default:0=all)
3030
--save_box_tiff # Save box/tiff pairs along with lstmf files.
31-
--x_size # Specify width of output image (default:3600)
31+
--xsize # Specify width of output image (default:3600)
3232
3333
OPTIONAL flags for input data. If unspecified we will look for them in
3434
the langdata_dir directory.

src/training/tesstrain_utils.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ parse_flags() {
186186
FONT_CONFIG_CACHE=$WORKSPACE_DIR/fc-cache
187187
mkdir -p $FONT_CONFIG_CACHE
188188
i=$j ;;
189-
--x_size)
189+
--xsize)
190190
parse_value "X_SIZE" ${ARGV[$j]:-}
191191
i=$j ;;
192192
*)

0 commit comments

Comments
 (0)