bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Pierre Neidhardt
Subject: bug#27411: 25.2; eshell/sudo reads -u from command arguments
Date: Sat, 17 Jun 2017 17:36:12 +0100
User-agent: Mutt/1.8.3 (2017-05-23)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]