[libvirt PATCH v2 05/20] commandhelper: Consolidate argument parsing