mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* the different between getopt and getopts
@ 2013-02-04 11:58 Alexander Aring
  2013-02-04 13:04 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Aring @ 2013-02-04 11:58 UTC (permalink / raw)
  To: barebox

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".

Regards Alex

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-04 13:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-04 11:58 the different between getopt and getopts Alexander Aring
2013-02-04 13:04 ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox