Usage statement and exit



examples/cli/some_program.cr
if ARGV.size != 1
  puts "Usage: some_program FILENAME"
  exit 1
end

filename = ARGV[0]
puts filename