Wrong escape in help message

This commit is contained in:
Taloth Saldono 2019-06-10 16:30:28 +02:00
parent dd4216d432
commit 88dfa14046
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent
RuleFor(c => c.Host).ValidHost(); RuleFor(c => c.Host).ValidHost();
RuleFor(c => c.Port).InclusiveBetween(1, 65535); RuleFor(c => c.Port).InclusiveBetween(1, 65535);
RuleFor(c => c.TvCategory).Matches(@"^([^\\\/](\/?[^\\\/])*)?$").WithMessage("Can not contain '\', '//', or start/end with '/'"); RuleFor(c => c.TvCategory).Matches(@"^([^\\\/](\/?[^\\\/])*)?$").WithMessage(@"Can not contain '\', '//', or start/end with '/'");
RuleFor(c => c.TvImportedCategory).Matches(@"^([^\\\/](\/?[^\\\/])*)?$").WithMessage("Can not contain '\', '//', or start/end with '/'"); RuleFor(c => c.TvImportedCategory).Matches(@"^([^\\\/](\/?[^\\\/])*)?$").WithMessage(@"Can not contain '\', '//', or start/end with '/'");
} }
} }