Change parsing to use argparse.

Signed-off-by: Antoni S. Puimedon <asegurap@redhat.com>