Re: [PATCH v2] virsh: Require --xpath for *dumpxml

2022-07-25 Thread Peter Krempa
On Fri, Jul 08, 2022 at 15:01:50 +0200, Michal Privoznik wrote: > Historically, the dumpxml command reject any unknown arguments, > for instance: > > virsh dumpxml fedora xxx > > However, after v8.5.0-rc1~31 the second argument ('xxx') is > treated as an XPath, but it's not that clearly visib

Re: [PATCH v2] virsh: Require --xpath for *dumpxml

2022-07-25 Thread Michal Prívozník
On 7/8/22 15:01, Michal Privoznik wrote: > Ping? Might be worth merging before tomorrow's freeze. Michal

[PATCH v2] virsh: Require --xpath for *dumpxml

2022-07-08 Thread Michal Privoznik
Historically, the dumpxml command reject any unknown arguments, for instance: virsh dumpxml fedora xxx However, after v8.5.0-rc1~31 the second argument ('xxx') is treated as an XPath, but it's not that clearly visible. Therefore, require the --xpath switch, like this: virsh dumpxml fedor