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

Reply via email to