Currently, there's no way for portage to spit out a list of valid sets. With pkgcore, if you specify an invalid set on the commandline, it will tell you what the valid ones are: kirara ~ # pmerge -p -s foo No set called 'foo'! known sets: ['glsa', 'installed', 'versioned-installed', 'system', 'world', 'vuln'] Can we get this same functionality for portage?
Here's how it looks now: # emerge @foo emerge: There are no sets to satisfy 'foo'. The following sets exist: installed preserved-rebuild security system world
Perfect...you rock! :P
This is fixed in 2.2_rc4.