I'm not sure I understand what your question is, for the example command,
lists the contents of the Directory,
Lists the contents of all directories that match the criteria set by a*, and all the files in the current directory that meet the criteria.
if you want to list all the directories and files meeting criteria a*, but not the contents of the directories use
the -d flag makes it list directories without listing their contents