From: Tanguy Le Carrour <tanguy@bioneland.org>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: guix package: Rename "generation" options
Date: Tue, 12 Nov 2019 09:58:43 +0100 [thread overview]
Message-ID: <20191112085843.h5gzy34ompkf7mto@rafflesia> (raw)
In-Reply-To: <80a7f0b8-9fb0-239d-bc61-d99209e95cb3@crazy-compilers.com>
Hi Hartmut!
Le 11/08, Hartmut Goebel a écrit :
> i often stumble about generation related short-options being mixed lower
> and upper-case:
>
> -l, --list-generations[=PATTERN]
> -d, --delete-generations[=PATTERN]
> -S, --switch-generation=PATTERN
>
> I would prefer to have them consistent, so they are easier to remember.
Speaking of consistency, I've been wondering for months why `guix system`
and `guix package` do not work the same way!? One uses positional
arguments, the other options!
```
$ guix package --list-generations[=PATTERN]
$ guix package --delete-generations[=PATTERN]
$ guix package --switch-generation=PATTERN
```
*vs*
```
$ guix system list-generations [PATTERN]
$ guix system delete-generations [PATTERN]
$ guix system switch-generation PATTERN
```
Is this on purpose?!
I think `guix system` is better, as those are actions, not modifiers or options.
Does this make sense?!
Regards,
--
Tanguy
next prev parent reply other threads:[~2019-11-12 8:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-08 12:47 guix package: Rename "generation" options Hartmut Goebel
2019-11-12 8:58 ` Tanguy Le Carrour [this message]
2019-11-12 10:55 ` zimoun
2019-11-17 10:59 ` Ludovic Courtès
2019-11-18 13:58 ` zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191112085843.h5gzy34ompkf7mto@rafflesia \
--to=tanguy@bioneland.org \
--cc=guix-devel@gnu.org \
--cc=h.goebel@crazy-compilers.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.