accept -r and --recursive