|ext:defswitch name &optional function||[Macro]|
Associates function with the switch name in *command-switch-demons*. The name is a simple-string that does not begin with a hyphen, unless the switch name really does begin with one. The function is optional, but defining the switch is necessary to keep invoking switch demons from complaining about illegal switches. This can be inhibited with *complain-about-illegal-switches*.