Improved documentation for xe.exe. Add the deprecated alongside the new check ID.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
Konstantina Chremmou 2022-05-25 09:41:08 +01:00
parent afa21f16a9
commit bca04c1b00
2 changed files with 6 additions and 1 deletions

View File

@ -66,6 +66,9 @@ namespace CommandLib
[System.Diagnostics.CodeAnalysis.SuppressMessage("csharpsquid",
"S4790:Using weak hashing algorithms is security-sensitive",
Justification = "Used only for checksum verification for backwards compatibility.")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("csharpsquid",
"S2070:SHA-1 and Message-Digest hash algorithms should not be used in secure contexts",
Justification = "Used only for checksum verification for backwards compatibility.")]
private readonly SHA1 _sha1 = new SHA1CryptoServiceProvider();
private readonly XXHash64 _xxHash = new XXHash64();

View File

@ -46,7 +46,9 @@ namespace ThinCLI
sb.AppendLine(" xe -s <server> -u <username> -pw <password> [options] <command> <arguments>").AppendLine();
sb.AppendLine("Options:");
sb.AppendLine(" -p <port>");
sb.AppendLine(" -debug");
sb.AppendLine(" -debug Show more detailed output and debug information");
sb.AppendLine(" -no-warn-new-certificates Do not prompt if a new certificate has been detected");
sb.AppendLine(" -no-warn-certificates Do not prompt if a certificate has changed");
sb.AppendLine();
sb.AppendLine("For command help, use xe -s <server> -u <user> -pw <password> [options] help");