Use current directory if '-r' specified and no input files

If '-r' recursive flag is specified there is no reason to use
stdin. Recursive is applied to directories only.