DO ... /A:-D?

#1
This produces expected output.

Code:
g:\> do f in /s * ( echo %@filename[%f] )
This produces no output.

Code:
g:\> do f in /a:-d /s * ( echo %@filename[%f] )
This again produces expected output.

Code:
g:\> do f in /s /a:-d * ( echo %@filename[%f] )
The order of the options matters. Is that WAD, documented? It doesn't matter for DIR.