get command-line arguments