]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory-diff: improve bad command-line argument handling
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 9 May 2013 15:57:47 +0000 (16:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 May 2013 10:34:47 +0000 (11:34 +0100)
commit329edb52e9c23c0956b849a660accf39d44f9d9f
tree28e3eef57b1115081abed62f434de364466f1496
parent45c7dab5d51065c7b24ab5292f8e9d3104eb0626
buildhistory-diff: improve bad command-line argument handling

* Check for existence of specified buildhistory directory and show a
  proper error message if it doesn't
* Show an error message instead of a traceback with a mangled revision
  if one of the specified git revisions is invalid
* Show usage information if --help is specified
* Write error messages to stderr

Fixes [YOCTO #4313].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/buildhistory-diff