Skip to content

Commit

Permalink
use --xsize instead of --x_size
Browse files Browse the repository at this point in the history
(cherry picked from commit 94b8988)
  • Loading branch information
Shreeshrii committed Feb 2, 2019
1 parent 31c48a0 commit ad22329
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/training/tesstrain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ echo -e "USAGE: tesstrain.sh
--run_shape_clustering # Run shape clustering (use for Indic langs).
--maxpages # Specify maximum pages to output (default:0=all)
--save_box_tiff # Save box/tiff pairs along with lstmf files.
--x_size # Specify width of output image (default:3600)
--xsize # Specify width of output image (default:3600)
OPTIONAL flags for input data. If unspecified we will look for them in
the langdata_dir directory.
Expand Down
2 changes: 1 addition & 1 deletion src/training/tesstrain_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ parse_flags() {
FONT_CONFIG_CACHE=$WORKSPACE_DIR/fc-cache
mkdir -p $FONT_CONFIG_CACHE
i=$j ;;
--x_size)
--xsize)
parse_value "X_SIZE" ${ARGV[$j]:-}
i=$j ;;
*)
Expand Down

0 comments on commit ad22329

Please sign in to comment.