aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>2025-10-31 12:44:30 -0400
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>2025-10-31 12:44:30 -0400
commite84a692a4da69caee88d141b45518cfe36dc7bc6 (patch)
treedd028f46256928b23301a688703afc846d55d2ac
parented442ddba1969ba826a4e07ccebac6e797d54d82 (diff)
downloadutil-linux-e84a692a4da69caee88d141b45518cfe36dc7bc6.tar.gz
bash-completion: (getopt) add missing --unknown
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
-rw-r--r--bash-completion/getopt13
1 files changed, 12 insertions, 1 deletions
diff --git a/bash-completion/getopt b/bash-completion/getopt
index 5e3fca61cb..9cd9b7319a 100644
--- a/bash-completion/getopt
+++ b/bash-completion/getopt
@@ -27,7 +27,18 @@ _getopt_module()
esac
case $cur in
-*)
- OPTS="--alternative --help --longoptions --name --options --quiet --quiet-output --shell --test --unquoted --version"
+ OPTS="--alternative
+ --help
+ --longoptions
+ --name
+ --options
+ --quiet
+ --quiet-output
+ --shell
+ --test
+ --unknown
+ --unquoted
+ --version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;