Add message about directories as parameters for --output.

reference to #1978