1
0
Fork 0
mirror of https://github.com/Corsinvest/cv4pve-pepper.git synced 2025-02-12 10:01:53 +00:00

Improve doc parameter

This commit is contained in:
daniele.corsini@corsinvest.it 2024-05-02 12:25:39 +02:00
parent 782e1947dc
commit b2feccc7d4
2 changed files with 1 additions and 8 deletions

View file

@ -25,17 +25,10 @@ Options:
--validate-certificate Validate SSL Certificate Proxmox VE node. --validate-certificate Validate SSL Certificate Proxmox VE node.
--host <host> (REQUIRED) The host name host[:port],host1[:port],host2[:port] --host <host> (REQUIRED) The host name host[:port],host1[:port],host2[:port]
--vmid <vmid> The id or name VM/CT --vmid <vmid> The id or name VM/CT
<<<<<<< HEAD
--proxy <proxy> SPICE proxy server. This can be used by the client to specify the proxy server. All nodes in a cluster runs 'spiceproxy', so it is up to
the client to choose one. By default, we return the node to connect. If specify http(s)://[host]:[port] then replace proxy option in file
.vv. E.g. for reverse proxy.
--viewer <viewer> (REQUIRED) Executable SPICE client remote viewer.
=======
--proxy <proxy> SPICE proxy server. This can be used by the client to specify the proxy server. All nodes in a cluster runs --proxy <proxy> SPICE proxy server. This can be used by the client to specify the proxy server. All nodes in a cluster runs
'spiceproxy', so it is up to the client to choose one. By default, we return the node to connect. If specify 'spiceproxy', so it is up to the client to choose one. By default, we return the node to connect. If specify
http(s)://[host]:[port] then replace proxy option in file .vv. E.g. for reverse proxy. http(s)://[host]:[port] then replace proxy option in file .vv. E.g. for reverse proxy.
--viewer <viewer> (REQUIRED) Executable SPICE client remote viewer (remote-viewer executable) --viewer <viewer> (REQUIRED) Executable SPICE client remote viewer (remote-viewer executable)
>>>>>>> a95eafc5623471c7e5825e184b29d43e6ad0fcf5
--viewer-options <viewer-options> Send options directly SPICE Viewer (quote value). --viewer-options <viewer-options> Send options directly SPICE Viewer (quote value).
--start-or-resume Run stopped or paused VM --start-or-resume Run stopped or paused VM
--wait-for-startup <wait-for-startup> Wait sec. for startup VM [default: 5] --wait-for-startup <wait-for-startup> Wait sec. for startup VM [default: 5]

View file

@ -26,7 +26,7 @@ var optProxy = app.AddOption<string>("--proxy",
" By default, we return the node to connect." + " By default, we return the node to connect." +
" If specify http(s)://[host]:[port] then replace proxy option in file .vv. E.g. for reverse proxy."); " If specify http(s)://[host]:[port] then replace proxy option in file .vv. E.g. for reverse proxy.");
var optRemoteViewer = app.AddOption<string>("--viewer", "Executable SPICE client remote viewer.") var optRemoteViewer = app.AddOption<string>("--viewer", "Executable SPICE client remote viewer (remote-viewer executable)")
.AddValidatorExistFile(); .AddValidatorExistFile();
optRemoteViewer.IsRequired = true; optRemoteViewer.IsRequired = true;