require 'wait_pid' if ARGV.include?('-h') || ARGV.include('--help') puts "syntax: pid" exit end WaitPid.wait_pid ARGV[0].to_i