Assign the right type in cli_bytetype_helper