Improved command-line argument error handler
Removed some debug information