am: handle "-h" argument earlier