[PATCH v4 1/2] wcmdmain: replaced to char, wchar_t parameter if possible