Skip to content

Commit d8f5f32

Browse files
committed
refactor: rename _comp{ => _compgen}_selinux_users
1 parent 5655f9b commit d8f5f32

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bash_completion

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2050,9 +2050,9 @@ _comp_compgen_allowed_groups()
20502050
}
20512051

20522052
# @since 2.12
2053-
_comp_selinux_users()
2053+
_comp_compgen_selinux_users()
20542054
{
2055-
_comp_compgen -a split -- "$(semanage user -nl 2>/dev/null |
2055+
_comp_compgen_split -- "$(semanage user -nl 2>/dev/null |
20562056
awk '{ print $1 }')"
20572057
}
20582058

completions/useradd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ _comp_cmd_useradd()
3838
return
3939
;;
4040
--selinux-user | -${noargopts}Z)
41-
_comp_selinux_users
41+
_comp_compgen_selinux_users
4242
return
4343
;;
4444
--shell | -${noargopts}s)

completions/usermod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ _comp_cmd_usermod()
3838
return
3939
;;
4040
--selinux-user | -${noargopts}Z)
41-
_comp_selinux_users
41+
_comp_compgen_selinux_users
4242
return
4343
;;
4444
--shell | -${noargopts}s)

0 commit comments

Comments
 (0)