diff --git a/src/cli/onehook b/src/cli/onehook index fa2c249d16..b33de1a101 100755 --- a/src/cli/onehook +++ b/src/cli/onehook @@ -256,8 +256,8 @@ CommandParser::CmdParser.new(ARGV) do end lock_desc = <<-EOT.unindent - Locks a Hook with differents levels for lock any actions with this Hook, - show and monitoring never will be locked. + Locks a Hook to prevent certain actions defined by different levels. + The show action will never be locked. Valid states are: All. Levels: [Use]: locks Admin, Manage and Use actions. diff --git a/src/cli/oneimage b/src/cli/oneimage index 895f405477..6d33b5fd15 100755 --- a/src/cli/oneimage +++ b/src/cli/oneimage @@ -436,8 +436,8 @@ CommandParser::CmdParser.new(ARGV) do end lock_desc = <<-EOT.unindent - Locks a VM with differents levels for lock any actions with this VM, show and - monitoring never will be locked. + Locks an Image to prevent certain actions defined by different levels. + The show action will never be locked. Valid states are: All. Levels: [Use]: locks Admin, Manage and Use actions. @@ -464,7 +464,7 @@ CommandParser::CmdParser.new(ARGV) do end unlock_desc = <<-EOT.unindent - Unlocks a VM for unlock any actions with this VM. + Unlocks an Image. Valid states are: All. EOT diff --git a/src/cli/onemarketapp b/src/cli/onemarketapp index 3d621feaa8..3487392c34 100755 --- a/src/cli/onemarketapp +++ b/src/cli/onemarketapp @@ -440,8 +440,8 @@ CommandParser::CmdParser.new(ARGV) do end lock_desc = <<-EOT.unindent - Locks a VM with differents levels for lock any actions with this VM, - show and monitoring never will be locked. + Locks a marketplace app to prevent certain actions defined by different levels. + The show action will never be locked. Valid states are: All. Levels: [Use]: locks Admin, Manage and Use actions. @@ -470,7 +470,7 @@ CommandParser::CmdParser.new(ARGV) do end unlock_desc = <<-EOT.unindent - Unlocks a VM for unlock any actions with this VM. + Unlocks a marketplace app. Valid states are: All. EOT diff --git a/src/cli/onetemplate b/src/cli/onetemplate index 4ae9939f26..f48e0c8cee 100755 --- a/src/cli/onetemplate +++ b/src/cli/onetemplate @@ -406,8 +406,8 @@ CommandParser::CmdParser.new(ARGV) do end lock_desc = <<-EOT.unindent - Locks a VM with differents levels for lock any actions with this VM, - show and monitoring never will be locked. + Locks a Template to prevent certain actions defined by different levels. + The show action will never be locked. Valid states are: All. Levels: [Use]: locks Admin, Manage and Use actions. @@ -434,7 +434,7 @@ CommandParser::CmdParser.new(ARGV) do end unlock_desc = <<-EOT.unindent - Unlocks a VM for unlock any actions with this VM. + Unlocks a Template. Valid states are: All. EOT diff --git a/src/cli/onevm b/src/cli/onevm index 5289cdd6f0..66e21cef99 100755 --- a/src/cli/onevm +++ b/src/cli/onevm @@ -1338,9 +1338,12 @@ CommandParser::CmdParser.new(ARGV) do end lock_desc = <<-EOT.unindent - Locks a VM with differents levels for lock any actions with this VM, show and - monitoring never will be locked. + Locks a VM to prevent certain actions defined by different levels. + The show and monitoring action will never be locked. Valid states are: All. + [Use]: locks Admin, Manage and Use actions. + [Manage]: locks Manage and Use actions. + [Admin]: locks only Admin actions. EOT command :lock, lock_desc, [:range, :vmid_list], @@ -1362,7 +1365,7 @@ CommandParser::CmdParser.new(ARGV) do end unlock_desc = <<-EOT.unindent - Unlocks a VM for unlock any actions with this VM. + Unlocks a Virtual Machine. Valid states are: All. EOT diff --git a/src/cli/onevmgroup b/src/cli/onevmgroup index 3ad614a144..9f8de93ff1 100755 --- a/src/cli/onevmgroup +++ b/src/cli/onevmgroup @@ -233,8 +233,8 @@ CommandParser::CmdParser.new(ARGV) do end lock_desc = <<-EOT.unindent - Locks a VM with differents levels for lock any actions with this VM, show and - monitoring never will be locked. + Locks a VM Group to prevent certain actions defined by different levels. + The show action will never be locked. Valid states are: All. Levels: [Use]: locks Admin, Manage and Use actions. @@ -261,7 +261,7 @@ CommandParser::CmdParser.new(ARGV) do end unlock_desc = <<-EOT.unindent - Unlocks a VM for unlock any actions with this VM. + Unlocks a VM Group. Valid states are: All. EOT diff --git a/src/cli/onevnet b/src/cli/onevnet index 195dddaa4e..d12bdb1a8e 100755 --- a/src/cli/onevnet +++ b/src/cli/onevnet @@ -381,8 +381,8 @@ CommandParser::CmdParser.new(ARGV) do end lock_desc = <<-EOT.unindent - Locks a VM with differents levels for lock any actions with this VM, show and - monitoring never will be locked. + Locks a Virtual Network to prevent certain actions defined by different levels. + The show action will never be locked. Valid states are: All. Levels: [Use]: locks Admin, Manage and Use actions. @@ -409,7 +409,7 @@ CommandParser::CmdParser.new(ARGV) do end unlock_desc = <<-EOT.unindent - Unlocks a VM for unlock any actions with this VM. + Unlocks a Virtual Network. Valid states are: All. EOT diff --git a/src/cli/onevntemplate b/src/cli/onevntemplate index ad2c346836..0f6bf5ad9b 100755 --- a/src/cli/onevntemplate +++ b/src/cli/onevntemplate @@ -341,8 +341,8 @@ CommandParser::CmdParser.new(ARGV) do end lock_desc = <<-EOT.unindent - Locks a VN template with differents levels for lock any actions with this VN template, - show and monitoring never will be locked. + Locks a VN Template to prevent certain actions defined by different levels. + The show action will never be locked. Valid states are: All. Levels: [Use]: locks Admin, Manage and Use actions. @@ -369,7 +369,7 @@ CommandParser::CmdParser.new(ARGV) do end unlock_desc = <<-EOT.unindent - Unlocks a VN template for unlock any actions with this VN template. + Unlocks a VN Template. Valid states are: All. EOT diff --git a/src/cli/onevrouter b/src/cli/onevrouter index 47c2230a71..60489d22dc 100755 --- a/src/cli/onevrouter +++ b/src/cli/onevrouter @@ -366,8 +366,8 @@ CommandParser::CmdParser.new(ARGV) do end lock_desc = <<-EOT.unindent - Locks a VM with differents levels for lock any actions with this VM, show and - monitoring never will be locked. + Locks a Virtual Router to prevent certain actions defined by different levels. + The show action will never be locked. Valid states are: All. Levels: [Use]: locks Admin, Manage and Use actions. @@ -394,7 +394,7 @@ CommandParser::CmdParser.new(ARGV) do end unlock_desc = <<-EOT.unindent - Unlocks a VM for unlock any actions with this VM. + Unlocks a Virtual Router. valid states are: All. EOT