]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pkg-bootstrap: complain on improper `pkg bootstrap` usage
authorKyle Evans <kevans@FreeBSD.org>
Wed, 22 Jul 2020 17:33:35 +0000 (17:33 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Wed, 22 Jul 2020 17:33:35 +0000 (17:33 +0000)
commitca7f7593ba7c3e5f930089bc07b20fdd5ab5d6cc
treec81ac0cbe69fd90cd81a01a28f406071aaffeebc
parent94140f4781f83c9e98f582439ed69d000ff0323a
pkg-bootstrap: complain on improper `pkg bootstrap` usage

Right now, the bootstrap will gloss over things like pkg bootstrap -x or
pkg bootstrap -f pkg. Make it more clear that this is incorrect, and hint
at the correct formatting.

Reported by: jhb (IIRC via IRC)
Approved by: bapt, jhb, manu
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D24750
usr.sbin/pkg/pkg.c