refactor: use locale functions in command_line_args.cc (#29550)
refactor: use locale functions in command_line_args.cc (#29550)

This change refactors the code to use isalpha() and
isspace() so that the code is more readable.

Signed-off-by: Darshan Sen <c66f01d33aca0f91e762bdaf4b23b204f4939502@gmail.com>
gerhardberger/electron,gerhardberger/electron,gerhardberger/electron,electron/electron,gerhardberger/electron,gerhardberger/electron,electron/electron,gerhardberger/electron,electron/electron,electron/electron,electron/electron,electron/electron,gerhardberger/electron,electron/electron