Commits
![Mugunthan V N](https://secure.gravatar.com/avatar/1df05564f3c5da15ae994bfe8978c68d.jpg?s=96&d=mm)
Mugunthan V N committed 1d3f0a91058
tools: iio: iio_generic_buffer: fix argument '?' option commit 44c5ba96ec1083b7694a88fd99c3012213314b82 upstream. When help ('?') option is passed to the command, the help text printed but not from '?' switch case of getopt_long() but as a invalid argument as below. Fix this by adding '?' to opt_String of getopt_long(). root@am437x-evm:~# ./iio_generic_buffer -? ./iio_generic_buffer: invalid option -- '?' Usage: generic_buffer [options]... Capture, convert and output data from IIO device buffer -a Auto-activate all available channels ... Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Sekhar Nori <nsekhar@ti.com>