Subject: bug#27411: 25.2; eshell/sudo reads -u from command arguments

From: Pierre Neidhardt <[email-masked]>
Date: Sat, 17 Jun 2017 17:36:12 +0100

Running

	eshell/sudo pacman -Su --noconfirm

Fails with

	sudo: unknown user: --noconfirm
  sudo: unable to initialize policy plugin

This is because `eshell/sudo' reads the -u argument of the subcommand.
I suppose that it should not use `eshell-eval-using-options' for parsing
arguments, or that the latter function should be extended to support
subcommands.

In GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.10)
 of 2017-04-22 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
System Description:	Arch Linux