Function: bat-cmd-help

bat-cmd-help is an interactive and byte-compiled function defined in bat-mode.el.gz.

Signature

(bat-cmd-help CMD)

Documentation

Show help for batch file command CMD.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/bat-mode.el.gz
;; 4  User functions

(defun bat-cmd-help (cmd)
  "Show help for batch file command CMD."
  (interactive "sHelp: ")
  (if (string-equal cmd "net")
      ;; FIXME: liable to quoting nightmare.  Use call-process?
      (shell-command "net /?") (shell-command (concat "help " cmd))))