Command-line processing