Parse arguments properly and fix the usage message.