how about `#{"-n" unless params[:gui]}`, no need for ternary here