From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Alexander Aring <alex.aring@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: the different between getopt and getopts
Date: Mon, 4 Feb 2013 14:04:04 +0100 [thread overview]
Message-ID: <20130204130404.GI18068@game.jcrosoft.org> (raw)
In-Reply-To: <20130204115856.GB3366@x61s.8.8.8.8>
On 12:58 Mon 04 Feb , Alexander Aring wrote:
> Hi,
>
> barebox has a builtin "getopt" hush implementation. But this "getopt"
> implementation used a syntax which is more like "getopts".
>
> "getopt" and "getopts" do the same thing in different syntax. See:
>
> http://aplawrence.com/Unix/getopts.html
>
> In my opinion we should rename "getopt" to "getopts". I can make a patch for
> this, but I don't know if there is a special reason why in barebox
> "getopts" is "getopt".
no this will break down comptibility
Best Regards,
J.
>
> Regards Alex
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2013-02-04 13:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-04 11:58 Alexander Aring
2013-02-04 13:04 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
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=20130204130404.GI18068@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=alex.aring@gmail.com \
--cc=barebox@lists.infradead.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox