Re: [Toybox] long options support and yesno()

2012-12-07 Thread Rob Landley
On 12/04/2012 11:34:16 PM, Ashwini Sharma wrote: Hi Rob, As for the command options FLAG_xxx macros are auto generated. Is the long options support in there and working? It generates FLAG_ macros for the short options, but not yet for the long options. This comes up if you have long op

[Toybox] long options support and yesno()

2012-12-04 Thread Ashwini Sharma
Hi Rob, As for the command options FLAG_xxx macros are auto generated. Is the long options support in there and working? Another usage issue I came across is in yesno() function. In that you check for the tty fd. As '0' is also tty, you print the prompt data onto 'stdin' which doesn't show up o