From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: Reorganizing guix package commands Date: Tue, 19 Apr 2016 16:39:37 +0200 Message-ID: <20160419143937.GA32547@jocasta.intra> References: <874mazi99k.fsf@gmail.com> <877ffual6i.fsf@gnu.org> <877ffujasf.fsf@gmail.com> <5715F91F.5030800@crazy-compilers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asWoc-0003FB-D1 for guix-devel@gnu.org; Tue, 19 Apr 2016 10:39:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asWoZ-0005vf-7I for guix-devel@gnu.org; Tue, 19 Apr 2016 10:39:46 -0400 Received: from de.cellform.com ([88.217.224.109]:48567 helo=jocasta.intra) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asWoY-0005vZ-Uo for guix-devel@gnu.org; Tue, 19 Apr 2016 10:39:43 -0400 Content-Disposition: inline In-Reply-To: <5715F91F.5030800@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel@gnu.org --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 19, 2016 at 11:23:43AM +0200, Hartmut Goebel wrote: Am 19.04.2016 um 09:52 schrieb Alex Kost: =20 I like you suggestion, except for these: > Here is the summary of the changes I think it would be good to have: > > [...] > |-----------------------------------+-------------------------------= ----| > | guix package --list-generations | guix profile --list-generation= s | =20 Why no replace the dashes here, too? This would IMHO be more consistent to the package sub-command? =20 I beleive the dashes should be removed, since list-generations is a request= ed=20 action, not an option. In Unix like systems we have the commands rm, ls, m= v; NOT=20 file --remove, file --list and file --move But I know that some people like to use options for commands. One possibility would be to have a set of standard aliases. Then people wh= o like guix package --list-generations ; or guix system --frobnicate can use that. Others can use guixp-lg ; or guixs-fb This was the method used by aegis for many years and kept most people happy. J' --=20 Avoid eavesdropping. Send strong encryted email. PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlcWQykACgkQimdxnC3oJ7MBdQCfdFZn/Z+vnD+P8vZ2Hm6cl0hO Q64AnRTQEaQPjVkglDLN/bUpqW2iYgcy =6Lm3 -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--