Add networkctl label to man and shell completion

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-06-27 10:30:41 -04:00
parent d37b7627c2
commit a5be8dabd6
3 changed files with 32 additions and 4 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ _networkctl() {
)
local -A VERBS=(
[STANDALONE]='list lldp'
[STANDALONE]='list lldp label'
[LINKS]='status'
)
+1
View File
@@ -6,6 +6,7 @@ _networkctl_command(){
'list:List existing links'
'status:Show information about the specified links'
'lldp:Show Link Layer Discovery Protocol status'
'label:Show address labels'
)
if (( CURRENT == 1 )); then
_describe -t commands 'networkctl command' _networkctl_cmds