cleanup cli argparse a little, conform to juju plugin protocol