From: Mike Swierczek <mike@swierczek.io>
To: guix-devel@gnu.org
Subject: Guix command line flag consistency
Date: Fri, 14 Apr 2017 16:57:09 -0400 [thread overview]
Message-ID: <0f4a960b-68dd-8f82-6bea-f6ce08d59e91@swierczek.io> (raw)
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
next reply other threads:[~2017-04-14 20:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-14 20:57 Mike Swierczek [this message]
2017-04-15 17:43 ` Guix command line flag consistency Hartmut Goebel
2017-04-15 19:34 ` Mike Swierczek
2017-04-22 22:46 ` Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0f4a960b-68dd-8f82-6bea-f6ce08d59e91@swierczek.io \
--to=mike@swierczek.io \
--cc=guix-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).