mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
cpictl tool supports options which start with - or -- alone. Getopt command verifies options which start with - or -- alone. When an option that does not start with - or -- is provided, the tool commits the changes and does not report error as shown below. $ ./cpictl abc Inside cpi_commit function Report error and do not commit for invalid options. Signed-off-by: Shalini Chellathurai Saroja <shalini@linux.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>