]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
bash-completion: (getopt) add missing --unknown
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Fri, 31 Oct 2025 16:44:30 +0000 (12:44 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Fri, 31 Oct 2025 16:44:30 +0000 (12:44 -0400)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
bash-completion/getopt

index 5e3fca61cbca805755a39ba3f38510395c775d7a..9cd9b7319a6ad3b6abc6715b6fa2cd91aa6f7cfa 100644 (file)
@@ -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
                        ;;