Hi,

I want to make the following code more simply.
   .========================================
    if error_flag then
        print usage_msg
        exit 1
    end
   .========================================

I wrote it like the following, but usage_msg is not printed.
   .========================================
    print usage_msg, exit 1 if error_flag
   .========================================

How to write it in ruby?  Please tell me.

regards,
kwatch