gpiofind: tweak the error message on invalid arguments
authorBartosz Golaszewski <bartekgola@gmail.com>
Mon, 12 Jun 2017 10:41:48 +0000 (12:41 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 12 Jun 2017 10:41:48 +0000 (12:41 +0200)
commit623d8d0cfb822fe8720306ebb9c16760bb79bcdd
tree3fc2982df88b655c01e135c50cea1da2b93a0cf7
parent45a60afb1639c7f9545664d403ab97f770107bca
gpiofind: tweak the error message on invalid arguments

We print the same error message in case of too many or not enough
arguments. Make the message appropriate for both cases.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/tools/gpiofind.c