Hi Marc,

Marc Espie wrote on Wed, Jun 18, 2014 at 10:20:09AM +0200:

> I'm still wondering whether it makes sense to add a flag
> to makewhatis that will always be there.
> 
> Who's gonna use -u and -d   without that new flag -P ?

Heh.
That's a very good point.

I only considered the following aspect: "If somebody requests
changing an existing database, and the database does not
exist, an error message is required."  But you are right that
the only context where changing an existing database makes
sense in the first place is installing and deinstalling
software - that is, pkg_add(1)-like tools.

I don't like useless knobs either (and if something makes
sense in theory, but has no practical use, it is useless).
So i will test sthen@'s original diff and check it by more
thoroughly inspecting the surrounding code, then (probably)
provide an OK unless i find additional issues.

Yours,
  Ingo

Reply via email to