                        (.close w)
                        [0 nil nil nil])
                      (catch Exception e
-                       [1 nil nil
+                       [1
+                        nil
+                        nil
                         (str "Failed to write output file: " filename
                              " because " e)]))))
             ; Write whatever is supposed to go to stderr, if anything

            (if (and (not (clojure.string/blank? options))
                     (not valid-switch?)
                     (clojure.string/starts-with? options "-"))
              [:complete 1
               (str "Unrecognized switch: '" options "'" "\n" main-help-str) {}]
              running-status)
            ; Handle switches with extraneous data
            (let [[option-status exit-status option-stderr op-options]

              (if (= option-status :complete)
                running-status
                (if (or version? help?)
                  [:complete
                   0
                   (cond version? (:version (get-options))
                         help? main-help-str)
                   op-options]
                  running-status)))
            ; If this is not a switch, get any operational options off
            ; of the command line
