parsing command line arguments in multiple languages