Skip to content
Snippets Groups Projects
Commit 86635b74 authored by Florent Gluck's avatar Florent Gluck
Browse files

Minor change in the help output

parent 0682bb69
No related branches found
No related tags found
No related merge requests found
Showing
with 41 additions and 41 deletions
......@@ -43,7 +43,7 @@ List of supported Commands:
passwd Updates the current user's password.
Requires no capabilities.
userlist Lists users (regex matching).
userlist Lists users (regex).
Requires USER_LIST user capability.
useradd Adds a user.
......@@ -55,71 +55,71 @@ List of supported Commands:
usersetcaps Sets a user's capabilities.
Requires USER_SET_CAPS user capability.
vmlist Lists VMs that can be listed (regex matching).
vmlist Lists VMs that can be listed (regex).
Requires VM_LIST VM access capability or VM_LIST_ANY user capability.
vmliststart Lists VMs that can be started (regex matching).
vmliststart Lists VMs that can be started (regex).
Requires VM_START VM access capability or VM_START_ANY user capability.
vmlistattach Lists VMs that can be attached to (regex matching).
vmlistattach Lists VMs that can be attached to (regex).
Requires VM_LIST VM access capability or VM_LIST_ANY user capability.
vmliststop Lists VMs that can be stopped or shutdown (regex matching).
vmliststop Lists VMs that can be stopped or shutdown (regex).
Requires VM_STOP VM access capability or VM_STOP_ANY user capability.
vmlistedit Lists VMs that can be edited (regex matching).
vmlistedit Lists VMs that can be edited (regex).
Requires VM_EDIT VM access capability or VM_EDIT_ANY user capability.
vmlisteditaccess Lists VMs that can have their VM access edited (regex matching).
vmlisteditaccess Lists VMs that can have their VM access edited (regex).
Requires VM_SET_ACCESS user capability and VM_SET_ACCESS VM access capability.
vmlistdel Lists VMs that can be deleted (regex matching).
vmlistdel Lists VMs that can be deleted (regex).
Requires VM_DESTROY VM access capability or VM_DESTROY_ANY user capability.
vmlistexportdir List VMs that can have a directory exported (regex matching).
vmlistexportdir List VMs that can have a directory exported (regex).
Requires VM_READFS VM access capability or VM_READFS_ANY user capability.
vmcred2pdf Creates a PDF with the credentials required to attach to running VMs (regex matching).
vmcred2pdf Creates a PDF with the credentials required to attach to running VMs (regex).
Requires VM_LIST VM access capability or VM_LIST_ANY user capability.
vmstart Starts one or more VMs (regex matching).
vmstart Starts one or more VMs (regex).
Requires VM_START VM access capability or VM_START_ANY user capability.
vmstop Stops by force one or more VMs (regex matching).
vmstop Stops by force one or more VMs (regex).
Requires VM_STOP VM access capability or VM_STOP_ANY user capability.
vmshutdown Gracefully shutdowns one or more VMs (regex matching).
vmshutdown Gracefully shutdowns one or more VMs (regex).
Requires VM_STOP VM access capability or VM_STOP_ANY user capability.
vmattach Attaches to one or more VMs in order to use their desktop environment (regex matching).
vmattach Attaches to one or more VMs in order to use their desktop environment (regex).
Requires VM_LIST VM access capability or VM_LIST_ANY user capability.
vmcreate Creates one or more VMs (regex matching).
vmcreate Creates one or more VMs (regex).
Requires VM_CREATE user capability.
vmedit Edits one or more VMs' properties: name, cpus, ram or nic (regex matching).
vmedit Edits one or more VMs' properties: name, cpus, ram or nic (regex).
Requires VM_EDIT VM access capability or VM_EDIT_ANY user capability.
vmdel Deletes one or more VMs (regex matching).
vmdel Deletes one or more VMs (regex).
Requires VM_DESTROY VM access capability or VM_DESTROY_ANY user capability.
vmsetaccess Sets a user's VM access in one or more VMs (regex matching).
vmsetaccess Sets a user's VM access in one or more VMs (regex).
Requires VM_SET_ACCESS user capability and VM_SET_ACCESS VM access capability.
vmdelaccess Deletes a user's VM access in one or more VMs (regex matching).
vmdelaccess Deletes a user's VM access in one or more VMs (regex).
Requires VM_SET_ACCESS user capability and VM_SET_ACCESS VM access capability.
vmexportdir Exports one or more VMs' directory into one or more tar archives.
Creates one archive per VM (regex matching).
Creates one archive per VM (regex).
Requires VM_READFS VM access capability or VM_READFS_ANY user capability.
tpllist Lists available templates (regex matching).
tpllist Lists available templates (regex).
Requires TPL_LIST or TPL_LIST_ANY user capabilities.
tplcreate Creates a template, either from an existing VM or from a .qcow file.
Requires TPL_CREATE user capability.
tpldel Deletes one or more templates (regex matching).
tpldel Deletes one or more templates (regex).
Requires TPL_DESTROY or TPL_DESTROY_ANY user capabilities.
```
......
......@@ -15,7 +15,7 @@ func (cmd *Del)GetName() string {
func (cmd *Del)GetDesc() []string {
return []string{
"Deletes one or more templates (regex matching).",
"Deletes one or more templates (regex).",
"Requires TPL_DESTROY or TPL_DESTROY_ANY user capabilities."}
}
......
......@@ -10,7 +10,7 @@ func (cmd *List)GetName() string {
func (cmd *List)GetDesc() []string {
return []string{
"Lists available templates (regex matching).",
"Lists available templates (regex).",
"Requires TPL_LIST or TPL_LIST_ANY user capabilities."}
}
......
......@@ -10,7 +10,7 @@ func (cmd *List)GetName() string {
func (cmd *List)GetDesc() []string {
return []string{
"Lists users (regex matching).",
"Lists users (regex).",
"Requires USER_LIST user capability."}
}
......
......@@ -24,7 +24,7 @@ func (cmd *Attach)GetName() string {
func (cmd *Attach)GetDesc() []string {
return []string{
"Attaches to one or more VMs in order to use their desktop environment (regex matching).",
"Attaches to one or more VMs in order to use their desktop environment (regex).",
"Requires VM_LIST VM access capability or VM_LIST_ANY user capability."}
}
......
......@@ -19,7 +19,7 @@ func (cmd *Create)GetName() string {
func (cmd *Create)GetDesc() []string {
return []string{
"Creates one or more VMs (regex matching).",
"Creates one or more VMs (regex).",
"Requires VM_CREATE user capability."}
}
......
......@@ -16,7 +16,7 @@ func (cmd *Cred2pdf)GetName() string {
func (cmd *Cred2pdf)GetDesc() []string {
return []string{
"Creates a PDF with the credentials required to attach to running VMs (regex matching).",
"Creates a PDF with the credentials required to attach to running VMs (regex).",
"Requires VM_LIST VM access capability or VM_LIST_ANY user capability."}
}
......
......@@ -15,7 +15,7 @@ func (cmd *Del)GetName() string {
func (cmd *Del)GetDesc() []string {
return []string{
"Deletes one or more VMs (regex matching).",
"Deletes one or more VMs (regex).",
"Requires VM_DESTROY VM access capability or VM_DESTROY_ANY user capability."}
}
......
......@@ -21,7 +21,7 @@ func (cmd *DelAccess)GetName() string {
func (cmd *DelAccess)GetDesc() []string {
return []string{
"Deletes a user's VM access in one or more VMs (regex matching).",
"Deletes a user's VM access in one or more VMs (regex).",
"Requires VM_SET_ACCESS user capability and VM_SET_ACCESS VM access capability."}
}
......
......@@ -25,7 +25,7 @@ func (cmd *Edit)GetName() string {
func (cmd *Edit)GetDesc() []string {
return []string{
"Edits one or more VMs' properties: name, cpus, ram or nic (regex matching).",
"Edits one or more VMs' properties: name, cpus, ram or nic (regex).",
"Requires VM_EDIT VM access capability or VM_EDIT_ANY user capability."}
}
......
......@@ -20,7 +20,7 @@ func (cmd *ExportDir)GetName() string {
func (cmd *ExportDir)GetDesc() []string {
return []string{
"Exports one or more VMs' directory into one or more tar archives.",
"Creates one archive per VM (regex matching).",
"Creates one archive per VM (regex).",
"Requires VM_READFS VM access capability or VM_READFS_ANY user capability."}
}
......
......@@ -14,7 +14,7 @@ func (cmd *List)GetName() string {
func (cmd *List)GetDesc() []string {
return []string{
"Lists VMs that can be listed (regex matching).",
"Lists VMs that can be listed (regex).",
"Requires VM_LIST VM access capability or VM_LIST_ANY user capability."}
}
......
......@@ -10,7 +10,7 @@ func (cmd *ListAttach)GetName() string {
func (cmd *ListAttach)GetDesc() []string {
return []string{
"Lists VMs that can be attached to (regex matching).",
"Lists VMs that can be attached to (regex).",
"Requires VM_LIST VM access capability or VM_LIST_ANY user capability."}
}
......
......@@ -10,7 +10,7 @@ func (cmd *ListDel)GetName() string {
func (cmd *ListDel)GetDesc() []string {
return []string{
"Lists VMs that can be deleted (regex matching).",
"Lists VMs that can be deleted (regex).",
"Requires VM_DESTROY VM access capability or VM_DESTROY_ANY user capability."}
}
......
......@@ -10,7 +10,7 @@ func (cmd *ListEdit)GetName() string {
func (cmd *ListEdit)GetDesc() []string {
return []string{
"Lists VMs that can be edited (regex matching).",
"Lists VMs that can be edited (regex).",
"Requires VM_EDIT VM access capability or VM_EDIT_ANY user capability."}
}
......
......@@ -10,7 +10,7 @@ func (cmd *ListEditAccess)GetName() string {
func (cmd *ListEditAccess)GetDesc() []string {
return []string{
"Lists VMs that can have their VM access edited (regex matching).",
"Lists VMs that can have their VM access edited (regex).",
"Requires VM_SET_ACCESS user capability and VM_SET_ACCESS VM access capability."}
}
......
......@@ -10,7 +10,7 @@ func (cmd *ListExportDir)GetName() string {
func (cmd *ListExportDir)GetDesc() []string {
return []string{
"List VMs that can have a directory exported (regex matching).",
"List VMs that can have a directory exported (regex).",
"Requires VM_READFS VM access capability or VM_READFS_ANY user capability."}
}
......
......@@ -10,7 +10,7 @@ func (cmd *ListStart)GetName() string {
func (cmd *ListStart)GetDesc() []string {
return []string{
"Lists VMs that can be started (regex matching).",
"Lists VMs that can be started (regex).",
"Requires VM_START VM access capability or VM_START_ANY user capability."}
}
......
......@@ -10,7 +10,7 @@ func (cmd *ListStop)GetName() string {
func (cmd *ListStop)GetDesc() []string {
return []string{
"Lists VMs that can be stopped or shutdown (regex matching).",
"Lists VMs that can be stopped or shutdown (regex).",
"Requires VM_STOP VM access capability or VM_STOP_ANY user capability."}
}
......
......@@ -17,7 +17,7 @@ func (cmd *SetAccess)GetName() string {
func (cmd *SetAccess)GetDesc() []string {
return []string{
"Sets a user's VM access in one or more VMs (regex matching).",
"Sets a user's VM access in one or more VMs (regex).",
"Requires VM_SET_ACCESS user capability and VM_SET_ACCESS VM access capability."}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment