[PATCH v8 2/9] qemu-binfmt-conf.sh: make opts -p and -c boolean

2020-03-07 Thread Unai Martinez-Corral
This patch breaks backward compatibility. Both '--persistent' and '--credential' default to 'no'. Hence, '-p no' or '-c no' are redundant. 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

[PATCH v8 2/9] qemu-binfmt-conf.sh: make opts -p and -c boolean

2020-03-07 Thread umarcor
This patch breaks backward compatibility. Both '--persistent' and '--credential' default to 'no'. Hence, '-p no' or '-c no' are redundant. 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