]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pkg: accept -y and --yes from arguments
authorbapt <bapt@FreeBSD.org>
Fri, 13 Apr 2018 18:25:00 +0000 (18:25 +0000)
committerbapt <bapt@FreeBSD.org>
Fri, 13 Apr 2018 18:25:00 +0000 (18:25 +0000)
commiteda4fd25f173f9f08a99760d115a0c3a0568666a
treec3e10edcf1f3ccc8ab154375e4a4299e9fccc5dd
parent2e980f1b2cc62935fcdb83c8ea36bea3f1f069db
pkg: accept -y and --yes from arguments

By popular demand, pkg now walks thought the arguments passed and
if it finds -y or --yes it does accept those as equivalent of
ASSUME_ALWAYS_YES env var.

Requested by: many
MFC after: 1 week
usr.sbin/pkg/pkg.c