Ignore Sublime Text files
Fix exception in handling of invalid command line input

If a value is seen before input, $opt will exist, but will be the empty
string.