code: def _complete_exit(self, cmd, args, text):
          
          if args:
              return
          return [ x for x in { 'root', 'all', } \
                  if x.startswith(text) ]
docs: Find candidates for the 'exit' command.