Fix detection of the "command" command line argument. Fixes #351.