From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QBR0KDtUKGGnDgEAgWs5BA (envelope-from ) for ; Fri, 27 Aug 2021 04:55:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qGgMJDtUKGHHbAAAB5/wlQ (envelope-from ) for ; Fri, 27 Aug 2021 02:55:55 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6D13665AB for ; Fri, 27 Aug 2021 04:55:55 +0200 (CEST) Received: from localhost ([::1]:35802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJS26-0005E2-53 for larch@yhetil.org; Thu, 26 Aug 2021 22:55:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJS1a-0005Dt-Il for guix-devel@gnu.org; Thu, 26 Aug 2021 22:55:22 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:33424) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJS1T-0003RS-Np for guix-devel@gnu.org; Thu, 26 Aug 2021 22:55:19 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJS1S-0007aK-22; Thu, 26 Aug 2021 22:55:14 -0400 Date: Thu, 26 Aug 2021 22:55:13 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net To: Raghav Gururajan Subject: Re: delete-generations or --delete-generations? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 6D13665AB X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: WEEZV+aTNg4W On Thu, 26 Aug 2021, Raghav Gururajan wrote: > Hello Guix! > > Why there is no '--' prefix to 'delete-generations' for `guix system`, when > there is for `guix pull` and `guix package`? Raghav, I don't know (but I'll speculate in a bit), but it's not just delete-generations. All of the guix system subcommands (e.g. init, reconfigure, list-generations) are like that. I suspect this is due to the organization of all these system-related subcommands under one top level command. These subcommands are different than options like --no-substittue and --keep-failed. I do see what you mean by it being organized a little bit differently than the other guix commands though. I guess it would be closer if there were a guix system generations subcommand with --delete --list etc. options. I have no opinion if this would make sense the implement though. Hope that helps, Jack