Ideally that shared definition would be used by all programs, rather than copy+pasting it. Unfortunately pySim-{read,prog} are still using optparse and first need to be converted to argparse. Change-Id: If77f53850e1ca65f42cf1dca3e0f460dac1b0d1a