switch to using the common code in BaseState
authorespie <espie@openbsd.org>
Sat, 12 Feb 2022 09:46:19 +0000 (09:46 +0000)
committerespie <espie@openbsd.org>
Sat, 12 Feb 2022 09:46:19 +0000 (09:46 +0000)
commit839fcc5407c9d58805aff87db41e162f13ec3d5a
tree832d7da498980841b0a08df698ccd3477202891a
parent5404b1211a613d4f12762b93d5f0c447b92ffed6
switch to using the common code in BaseState

(BaseState is a "light weight" base class for State, that does the
common stuff like printing out stuff pkg-style, or exec'ing commands
and reporting exit/signal status, but without needing to create an
object--necessarily--or without the extra option handling code.
usr.sbin/pkg_add/OpenBSD/State.pm
usr.sbin/pkg_add/OpenBSD/State.pod