The check for the correct number of arguments for perf_collate.cpp, perf_convert.cpp, and perf_format.cpp did not match the indices of argv that are accessed. This resulted in a crash if the previous check was satisfied on access to argv[2]. This change allows for backend and locale options to be provided as intended.
The check for the correct number of arguments for perf_collate.cpp, perf_convert.cpp, and perf_format.cpp did not match the indices of
argv
that are accessed. This resulted in a crash if the previous check was satisfied on access toargv[2]
. This change allows for backend and locale options to be provided as intended.