cmd_usage(): simplify return code handling