mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 20:10:10 +01:00
man: document completion
This commit is contained in:
parent
d73c0e57d5
commit
53fb00d5f7
1 changed files with 17 additions and 0 deletions
|
|
@ -276,6 +276,23 @@
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><group choice='plain'>
|
||||
<arg choice='plain'><option>--complete-args</option></arg>
|
||||
</group></term>
|
||||
|
||||
<listitem>
|
||||
<para>Instead of conducting the desired action, <command>nmcli</command>
|
||||
will list possible completions for the last argument. This is useful to implement
|
||||
argument completion in shell.</para>
|
||||
|
||||
<para>The <link linkend='exit_status'>exit status</link> will indicate success
|
||||
or return a code 65 to indicate the last argument is a file name.</para>
|
||||
|
||||
<para>NetworkManager ships with command completion support for GNU Bash.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><group choice='plain'>
|
||||
<arg choice='plain'><option>-v</option></arg>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue