[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delete-generations or --delete-generations?

From: Jack Hill
Subject: Re: delete-generations or --delete-generations?
Date: Thu, 26 Aug 2021 22:55:13 -0400 (EDT)
User-agent: Alpine 2.21 (DEB 202 2017-01-01)

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`?


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,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]