Looks good. +1 to adding generic command instead of fixing it to 'rpm repo search'.