]> xenbits.xensource.com Git - libvirt.git/commit
cpu-gather: Use actions instead of flags for action argument
authorTim Wiederhake <twiederh@redhat.com>
Mon, 4 Jan 2021 11:30:17 +0000 (12:30 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 7 Jan 2021 17:11:07 +0000 (18:11 +0100)
commitba05774f57b3102bb2b08fb9707d4b5775c4f65d
treef97c86283adbab9f86cbddde1a0bd8b50a6b1f42
parentd90738bacc22ff3c88fb33720fc02bc9df0cb48c
cpu-gather: Use actions instead of flags for action argument

This allows for the functionality of cpu-cpuid.py script to be
integrated more naturally in a later patch.

Changes the way this script should be called:
  cpu-gather.py                   -> cpu-gather.py
  cpu-gather.py --gather          -> cpu-gather.py gather
  cpu-gather.py --parse           -> cpu-gather.py parse
  cpu-gather.py --gather --parse  -> cpu-gather.py full

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
tests/cputestdata/cpu-gather.py