Command-line argument correction