diff --git a/source/commandr/validators.d b/source/commandr/validators.d index b41d0dd..5d0c510 100644 --- a/source/commandr/validators.d +++ b/source/commandr/validators.d @@ -272,7 +272,7 @@ public class FileSystemValidator: IValidator { case FileType.Directory: if (!arg.isDir) { throw new ValidationException(this, - "value specified in %s %s must be a valid file".format( + "value specified in %s %s must be a valid directory".format( entry.getEntryKindName(), entry.name, ) );