Move a logging call

Originally, the call to log a warning about extraneous command line
arguments was right after the call to parse_args().  Unfortunately, at
that point, we haven't actually set up logging, so the call would have
thrown an exception.  Move the line down past the spot where we set up
the logging system.