 
 (defun govc-json-info (command selection)
   "Run govc COMMAND -json on SELECTION."
-  (govc-process (govc-command command "-json" govc-args selection)
+  (govc-process (govc-format-command command "-json" govc-args selection)
                 (lambda ()
                   (let ((buffer (get-buffer-create (concat "*govc-json*" (if current-prefix-arg selection)))))
                     (copy-to-buffer buffer (point-min) (point-max))

    (if url
        (or (url-target url) (url-host url)))))

(defun govc-command (command &rest args)
  "Format govc COMMAND ARGS."
  (format "govc %s %s" command
          (s-join " " (--map (format "'%s'" it)
                             (-flatten (-non-nil args))))))



(defcustom govc-keymap-prefix "C-c ;"
  "Prefix for `govc-mode'."
  :group 'govc)

(defcustom govc-command "govc"
  "Executable path to the govc utility."
  :type 'string
  :group 'govc)

(defvar govc-command-map
