Fix db_hosts when -c is passed

git-svn-id: file:///home/svn/framework3/trunk@11862 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-03-02 17:12:10 +00:00
parent 3e99eea120
commit 3b5c467c47
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ class Db
end end
col_search = list.strip().split(",") col_search = list.strip().split(",")
col_search.each { |c| col_search.each { |c|
if not host_columns.include?(c) and not virtual_columns.include?(c) if not default_columns.include?(c) and not virtual_columns.include?(c)
all_columns = default_columns + virtual_columns all_columns = default_columns + virtual_columns
print_error("Invalid column list. Possible values are (#{all_columns.join("|")})") print_error("Invalid column list. Possible values are (#{all_columns.join("|")})")
return return