svn commit: r337536 - head/sbin/ipfw
Rodney W. Grimes
freebsd at pdx.rh.CN85.dnsmgr.net
Thu Aug 9 14:40:35 UTC 2018
-- 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 at freebsd.org
More information about the svn-src-all
mailing list