Gary Lin 0876fdf215 util/bash-completion: Fix for bash-completion 2.12
_split_longopt() was the bash-completion private API and removed since
bash-completion 2.12. This commit initializes the bash-completion
general variables with _init_completion() to avoid the potential
"command not found" error.

Although bash-completion 2.12 introduces _comp_initialize() to deprecate
_init_completion(), _init_completion() is still chosen for the better
backward compatibility.

Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2024-04-11 15:48:25 +02:00
..
2010-09-15 14:46:53 +02:00
2023-12-12 17:55:14 +01:00
2022-03-14 16:01:07 +01:00
2023-05-17 13:23:44 +02:00
2023-05-17 13:23:44 +02:00
2023-06-01 11:45:00 +02:00
2013-11-07 06:35:50 +01:00
2023-05-17 13:23:44 +02:00
2022-03-14 16:01:07 +01:00