Allow the equal sign to be used as part of an option value

git-svn-id: file:///home/svn/framework3/trunk@6634 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-06-09 20:43:42 +00:00
parent 3cf9088e1f
commit 0f6b6f6169
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ class Common
# features
def self.process_cli_arguments(framework, argv)
argv.delete_if { |assign|
var, val = assign.split(/=/)
var, val = assign.split('=', 2)
next if var.nil? or val.nil?
@ -30,4 +30,4 @@ class Common
end
end
end
end