bin/ruby-pstree in pstree-0.3.1 vs bin/ruby-pstree in pstree-0.4.0

- old
+ new

@@ -1,5 +1,8 @@ #!/usr/bin/env ruby require 'pstree' -puts PSTree.new(ARGV.shift) +pids = ARGV.empty? ? [ 0 ] : ARGV +pids.each do |pid| + puts PSTree.new(pid) +end