Re: [Qemu-devel] [PATCH v3 2/10] qemu-binfmt-conf.sh: make opts -p and -c boolean

2019-03-09 Thread Laurent Vivier
On 06/03/2019 05:42, Unai Martinez-Corral wrote: > This patch breaks backward compatibility. > > Both '--persistent' and '--credential' default to 'no'. Hence, '-p no' > or '-c no' are reduntant. Overall, accepting an argument might be > misleading because options are, indeed, boolean. This patch

[Qemu-devel] [PATCH v3 2/10] qemu-binfmt-conf.sh: make opts -p and -c boolean

2019-03-05 Thread Unai Martinez-Corral
This patch breaks backward compatibility. Both '--persistent' and '--credential' default to 'no'. Hence, '-p no' or '-c no' are reduntant. Overall, accepting an argument might be misleading because options are, indeed, boolean. This patch makes both options boolean in getopt, so if any of them is