imgtool.py --version doesn't allow zeros

Description

The `imgtool.py` program's `--version` option doesn't allow any of the fields to be zero. It correctly forbids leading zeros on non-zero values, but neglects to allow zero itself.

Environment

None

Status

Assignee

David Brown

Reporter

David Brown

Labels

None

Components

Fix versions

Priority

Medium