the different between getopt and getopts

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

 



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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux