Fix label mode argument.

This commit is contained in:
Sergey Vartanov 2021-05-29 03:00:22 +03:00
parent b086b0d108
commit b0de6754c1
4 changed files with 36 additions and 15 deletions

View file

@ -45,8 +45,9 @@ def parse_options(args) -> argparse.Namespace:
dest="scale",
type=float)
parser.add_argument(
"--captions", "--no-draw-captions",
dest="draw_captions",
"--labels",
help="label drawing mode: `no`, `main`, or `all`",
dest="label_mode",
default="main")
parser.add_argument(
"--show-missing-tags",