eshell--set-option

eshell--set-option is a compiled Lisp function in `esh-opt.el'.

(eshell--set-option NAME AI OPT OPTIONS OPT-VALS)

Using NAME's remaining args (index AI), set the OPT within OPTIONS.
If the option consumes an argument for its value, the argument list
will be modified.