emacs/test/lisp/eshell
Jay Kamat a4c616e27a esh-opt.el: Add a :parse-leading-options-only argument (Bug#28323)
* lisp/eshell/esh-opt.el (eshell-eval-using-options): Add a new
:parse-leading-options-only argument which ignores dash/switch
arguments after the first positional argument.
(eshell--process-args): Abort processing of arguments if we see one
positional argument and :parse-leading-options-only is set.
* lisp/eshell/em-tramp.el (eshell/sudo): Use
:parse-leading-options-only, to avoid parsing subcommand switches as
switches of sudo itself.
* test/lisp/eshell/esh-opt-tests.el: Add tests for new and old behavior.
2018-05-15 19:32:49 -04:00
..
em-hist-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
em-ls-tests.el Quieten compilation of some test/lisp files 2018-03-09 15:04:59 -05:00
esh-opt-tests.el esh-opt.el: Add a :parse-leading-options-only argument (Bug#28323) 2018-05-15 19:32:49 -04:00
eshell-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00