Add help for 'rebuild' in list_categories, fixes #547