Fix getopt_long() usage

The return value of getopt_long() was being stored in a "char".
On some platforms, "char" is unsigned.  In that case, the capstats
command would never work (it would just exit with a usage message).
Fixed by using the correct return value type ("int") of getopt_long().
Updating copyright notice.
Merge remote-tracking branch 'origin/fastpath'

* origin/fastpath:
  Fix getopt_long() usage