aer-inject: use command-line option to specify PCI ID

The PCI ID may be specified on the command-line using -s|--id instead
of taking it from the data file using the PCI_ID keyword.  The PCI_ID
specified in data file will be overrided by the command-line option.

Added -v|--version and -h|--help command-line options.

Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
4 files changed
tree: d34afb0750dc875bce72d36b53bb1c1e41052e20
  1. Makefile
  2. README
  3. SPEC
  4. aer-inject.c
  5. aer.h
  6. aer.lex
  7. aer.y
  8. test/
  9. util.c
  10. util.h