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

Added --version option to oneauth command

Gets the version and copyright string from CommandParse class
so it only needs to be changed there
This commit is contained in:
Javi Fontan 2010-10-14 12:39:41 +02:00
parent 0f1da0b9cd
commit 86964ac730

View File

@ -38,6 +38,7 @@ require 'sequel'
require 'quota'
require 'ssh_auth'
require 'client_utilities'
require 'command_parse'
COMMANDS_HELP=<<-EOT
@ -129,6 +130,9 @@ when "help"
print_help
exit 0
when "--version"
puts CommandParse::ONE_VERSION
else
print_help
exit -1