guix-devel
[Top][All Lists]
Advanced

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

Guix command line flag consistency


From: Mike Swierczek
Subject: Guix command line flag consistency
Date: Fri, 14 Apr 2017 16:57:09 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Hello. I started taking GuixSD for a spin and love it. Thanks for all of your work!

I hope this question isn't too elementary.

I see that the 'guix package' command line tool, and possibly all of the Guix command line tools, use the Scheme SRFI 37 convention for argument handling. It seems a little unintuitive to me as an outsider trying to learn Guix. I wrote 'guix package --search git' and got an error message.

I'd much prefer if both the short and long command line arguments accepted their argument in any arrangement.
--long-flag=foo
--long-flag foo
--long-flagfoo
-short-flag=foo
-short-flag foo
-short-flagfoo

Obviously this is a headache for the persons writing the command line parser. But I think it's more friendly to people new to the project. What do you think?

-Mike



reply via email to

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