diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2016-07-12 15:44:05 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2016-08-01 13:52:36 +0200 |
commit | 53fb00d5f7d5ccd60f0fdb49575a7b37cfe0dc65 (patch) | |
tree | cd0b52c60f1fb9a1d90de2a01de86bf1de813130 /man/nmcli.xml | |
parent | d73c0e57d5940fa906e5f8aeb59b901a904e8df0 (diff) | |
download | NetworkManager-53fb00d5f7d5ccd60f0fdb49575a7b37cfe0dc65.tar.gz |
man: document completion
Diffstat (limited to 'man/nmcli.xml')
-rw-r--r-- | man/nmcli.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/man/nmcli.xml b/man/nmcli.xml index 739efa9ce9..5a936335c0 100644 --- a/man/nmcli.xml +++ b/man/nmcli.xml @@ -278,6 +278,23 @@ <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> <arg choice='plain'><option>--version</option></arg> </group></term> |