mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 15:29:26 +01:00
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:
parent
afa21f16a9
commit
bca04c1b00
@ -66,6 +66,9 @@ namespace CommandLib
|
|||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("csharpsquid",
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("csharpsquid",
|
||||||
"S4790:Using weak hashing algorithms is security-sensitive",
|
"S4790:Using weak hashing algorithms is security-sensitive",
|
||||||
Justification = "Used only for checksum verification for backwards compatibility.")]
|
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 SHA1 _sha1 = new SHA1CryptoServiceProvider();
|
||||||
|
|
||||||
private readonly XXHash64 _xxHash = new XXHash64();
|
private readonly XXHash64 _xxHash = new XXHash64();
|
||||||
|
@ -46,7 +46,9 @@ namespace ThinCLI
|
|||||||
sb.AppendLine(" xe -s <server> -u <username> -pw <password> [options] <command> <arguments>").AppendLine();
|
sb.AppendLine(" xe -s <server> -u <username> -pw <password> [options] <command> <arguments>").AppendLine();
|
||||||
sb.AppendLine("Options:");
|
sb.AppendLine("Options:");
|
||||||
sb.AppendLine(" -p <port>");
|
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();
|
||||||
sb.AppendLine("For command help, use xe -s <server> -u <user> -pw <password> [options] help");
|
sb.AppendLine("For command help, use xe -s <server> -u <user> -pw <password> [options] help");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user