1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Formatting for onegroup create help

This commit is contained in:
Carlos Martín 2014-04-08 18:15:38 +02:00
parent c258ba8f23
commit cbe7788117
2 changed files with 9 additions and 13 deletions

View File

@ -147,7 +147,7 @@ EOT
},
{
:name => 'admin_password',
:large => '--admin_password password',
:large => '--admin_password pass',
:short => "-p",
:description =>
'Password for the admin user of the group',
@ -155,7 +155,7 @@ EOT
},
{
:name => 'admin_driver',
:large => '--admin_driver auth_driver',
:large => '--admin_driver driver',
:short => "-d",
:description =>
'Auth driver for the admin user of the group',
@ -163,20 +163,20 @@ EOT
},
{
:name => 'resources',
:large => '--resources resources_str',
:large => '--resources res_str',
:short => "-r",
:description =>
'Which resources can be created by group users "\
"(VM+NET+IMAGE+TEMPLATE by default)',
"Which resources can be created by group users "<<
"(VM+NET+IMAGE+TEMPLATE by default)",
:format => String
},
{
:name => 'admin_resources',
:large => '--admin_resources resources_str',
:large => '--admin_resources res_str',
:short => "-o",
:description =>
'Which resources can be created by group users "\
"(VM+NET+IMAGE+TEMPLATE by default)',
"Which resources can be created by the admin user "<<
"(VM+NET+IMAGE+TEMPLATE by default)",
:format => String
}
]

View File

@ -79,17 +79,13 @@ cmd=CommandParser::CmdParser.new(ARGV) do
Examples:
- using a template description file:
onegroup create group_description.tmpl
- create a group with admin user and allow group users
to only create new templates and VMs, and group admin to manage
templates, vms, images and virtual networks
onegroup create --name groupA
--admin_user admin_userA --admin_password somestr
--resource TEMPLATE+VM
--resources TEMPLATE+VM
--admin_resources TEMPLATE+VM+IMAGE+NET
EOT