[lvm2-commits] master - refactor: move code detecting report options to a separate function