From owner-freebsd-questions@freebsd.org Mon Jan 4 16:17:54 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 22D684DB18B for ; Mon, 4 Jan 2021 16:17:54 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D8glQ0TBWz3DmD; Mon, 4 Jan 2021 16:17:54 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id DA3182D83B; Mon, 4 Jan 2021 16:17:53 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from PD0786.local (unknown [IPv6:2001:8b0:151:1:4c2d:4c71:d432:ad5b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 58D7C1B4E2; Mon, 4 Jan 2021 16:17:52 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/58D7C1B4E2; dkim=none; dkim-atps=neutral Subject: Re: pkg prime-origins To: doug@safeport.com, freebsd-questions@freebsd.org References: <20210104023347.GA36180@admin.sibptus.ru> <66c6e016-1bf-f0ff-7066-50184c238dbd@fledge.watson.org> From: Matthew Seaman Message-ID: <6df60adc-e541-3d7f-0534-d1df28d36030@FreeBSD.org> Date: Mon, 4 Jan 2021 16:17:50 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <66c6e016-1bf-f0ff-7066-50184c238dbd@fledge.watson.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2021 16:17:54 -0000 On 04/01/2021 16:12, doug wrote: > On Mon, 4 Jan 2021, Victor Sudakov wrote: > >> doug wrote: >>> I wrote a python script to do this. Thinking their must be a better >>> way I >>> tried google and got the "magic" command from a 2018 post. Two questions >>> when was this added and why doesn't `pkg help` list it? >>> >>> artemis:~> pkg help | grep -i prime >>> artemis:~> >> >> Because it's not an actual command, it's an alias defined in >> /usr/local/etc/pkg.conf > > Then in man pkg. Or perhaps google is the best wasy to document this. Or you could add them as examples in pkg-alias(8). Pull requests gladly accepted. Cheers, Matthew