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