Variable: command-switch-alist
command-switch-alist is a variable defined in startup.el.gz.
Value
(("-compiler" . vhdl-process-command-line-option)
("-project" . vhdl-process-command-line-option))
Documentation
Alist of command-line switches.
Elements look like (SWITCH-STRING . HANDLER-FUNCTION).
HANDLER-FUNCTION receives the switch string as its sole argument;
the remaining command-line args are in the variable command-line-args-left.
Probably introduced at or before Emacs version 17.
Source Code
;; Defined in /usr/src/emacs/lisp/startup.el.gz
(defvar command-switch-alist nil
"Alist of command-line switches.
Elements look like (SWITCH-STRING . HANDLER-FUNCTION).
HANDLER-FUNCTION receives the switch string as its sole argument;
the remaining command-line args are in the variable `command-line-args-left'.")