Revision 26a3ca45
Added by Marc Dequènes almost 15 years ago
- ID 26a3ca452bdc8e837baee4a42b170d9ffd67196c
lib/ldap_shadows/display_utils.rb | ||
---|---|---|
end
|
||
|
||
def self.display_item_list(title, obj_list)
|
||
puts "=== #{title} ==="
|
||
puts "=== #{title} (#{obj_list.size}) ==="
|
||
obj_list.each do |obj|
|
||
str = obj.human_name
|
||
str += " [#{obj.name}]" if $program_options[:handles]
|
Also available in: Unified diff
[evol] the 'list' command now display the number of items