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

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

bug#66551: [PATCH] Add completion for Unix 'doas' command.


From: Stefan Kangas
Subject: bug#66551: [PATCH] Add completion for Unix 'doas' command.
Date: Sun, 15 Oct 2023 05:55:01 -0700

Antero Mejr <antero@mailbox.org> writes:

> The options "su" are the flags shared across BSD, Linux, and
> eshell-builtin versions of doas. The revised patch (attached) has all
> flags from the BSD version, but will provide completions for invalid
> flags for Linux and eshell doas.

I believe it might be better to align with the flags available on
GNU/Linux, then.  Especially considering our larger GNU/Linux user base
compared to BSD.

It's less cumbersome for users to manually add a missing flag than for
pcomplete to suggest an incorrect one.

> BSD and Linux doas doesn't have a -h/--help flag, so I don't think we
> can get the flags using pcomplete-from-help unfortunately.

Thank you for pointing that out.  Noted.





reply via email to

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