From owner-svn-src-all@freebsd.org Thu Aug 9 14:40:35 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B6DE10685B0; Thu, 9 Aug 2018 14:40:35 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD86D75FAE; Thu, 9 Aug 2018 14:40:34 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w79EeWnJ017774; Thu, 9 Aug 2018 07:40:32 -0700 (PDT) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w79EeWYj017773; Thu, 9 Aug 2018 07:40:32 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201808091440.w79EeWYj017773@pdx.rh.CN85.dnsmgr.net> Subject: Re: svn commit: r337536 - head/sbin/ipfw In-Reply-To: <740fdc14-f1a0-db75-372d-a0a0c52de62a@yandex.ru> To: "Andrey V. Elsukov" Date: Thu, 9 Aug 2018 07:40:32 -0700 (PDT) CC: rgrimes@freebsd.org, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2018 14:40:35 -0000 -- Start of PGP signed section. [ Charset UTF-8 unsupported, converting... ] > On 09.08.2018 17:28, Rodney W. Grimes wrote: > >> Author: ae > >> Date: Thu Aug 9 12:46:30 2018 > >> New Revision: 337536 > >> URL: https://svnweb.freebsd.org/changeset/base/337536 > >> > >> Log: > >> If -q flag is specified, do not complain when we are trying to delete > >> nonexistent NAT instance or nonexistent rule. > > > > It would probably be better to not overload -q with what is > > usually a -f like functionality of a command. Sadly -f is > > already used in ipfw, so another option should be choosen. > > > >> This allows execute batched `delete` commands and do not fail when > >> found nonexistent rule. > > > > So now I can not code a quiet ipfw command that does fail when > > I give it a bad delete command :-(. > > Previously -q did not handled by delete command, so you can just use bad > "ipfw delete" without -q :) This now means -q has 2 functions, silence most commands, and silently ignore errors on delete. That is a poor implementation of syntax and options. -- Rod Grimes rgrimes@freebsd.org