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 <>
Signed-off-by: Huang Ying <>
4 files changed
tree: d34afb0750dc875bce72d36b53bb1c1e41052e20
  1. test/
  2. aer-inject.c
  3. aer.h
  4. aer.lex
  5. aer.y
  6. Makefile
  8. SPEC
  9. util.c
  10. util.h