]> code.ossystems Code Review - openembedded-core.git/commit
makedevs: rectify the exit codes and handle the invalid parameter
authorRoy Li <rongqing.li@windriver.com>
Wed, 25 Sep 2013 05:58:36 +0000 (05:58 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Sep 2013 20:56:31 +0000 (21:56 +0100)
commit7c61daa08fa51557e0e6785e738646cb5d8de91b
tree9f94f99d5f0e2e2a42a903fc3611f054fff5a599
parentbe697e3cfa67fa61aa9ef2c9c0c75f4ed452414e
makedevs: rectify the exit codes and handle the invalid parameter

It is correct behaviours to output help and version information,
and should return 0;
When input parameter is invalid, print help information and exit.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/makedevs/makedevs-1.0.0/makedevs.c