From a1b72d534a0130cbe8503fb6109f9020e82ce52b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Fri, 4 Nov 2011 18:18:37 +0100 Subject: [PATCH] Bug #964: Fix the onedb command options parsing, the mysql options were ignored --- src/onedb/onedb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/onedb/onedb b/src/onedb/onedb index 1f94760aa5..12551c3b3b 100755 --- a/src/onedb/onedb +++ b/src/onedb/onedb @@ -103,7 +103,7 @@ USERNAME={ :description => "MySQL username", :proc => lambda { |o, options| options[:backend] = :mysql - options[:username] = o + options[:user] = o } } @@ -115,7 +115,7 @@ PASSWORD={ :description => "MySQL password. Leave unset to be prompted for it", :proc => lambda { |o, options| options[:backend] = :mysql - options[:password] = o + options[:passwd] = o } } @@ -127,7 +127,7 @@ DBNAME={ :description => "MySQL DB name for OpenNebula", :proc => lambda { |o, options| options[:backend] = :mysql - options[:dbname] = o + options[:db_name] = o } }