Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: nmcli completions



On 06/08/2015 04:44 PM, Chad Sharp wrote:
> I'm not a subscriber to the mailing list and please forgive me if this 
> is the wrong place to report this.
> 
> The completions for nmcli are very incomplete and in some instances, 
> incorrect.
> 

It happens when the command in question changes, but the completion function lags behind.
The function itself haven't changed since it's initial commit back in 2011, when network manager was at release 0.8


> So to starting from the top, `nmcli nm` is not a command and should not 
> be part of the completion at all. 

It used to be:
> NMCLI(1)                                                              NMCLI(1)
>
>
>
>NAME
>       nmcli - command-line tool for controlling NetworkManager
>
>SYNOPSIS
>       nmcli  [ OPTIONS ] OBJECT { COMMAND | help }
>
>
>       OBJECT := { nm | con | dev }
>
>
>       OPTIONS := {
...

It just needs someone interested in updating it.



Messages sorted by: Reverse Date, Date, Thread, Author