'list the cmdsets'

def func(self):

    caller = self.caller
    if self.arglist:
        obj = caller.search(self.arglist[0])
        if (not obj):
            return
    else:
        obj = caller
    string = ('%s' % obj.cmdset)
    caller.msg(string)
