]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
bash-completion: updated lsns bash completion
authorPrasanna Paithankar <paithankarprasanna@gmail.com>
Sun, 2 Feb 2025 17:04:20 +0000 (22:34 +0530)
committerPrasanna Paithankar <paithankarprasanna@gmail.com>
Sun, 2 Feb 2025 17:04:20 +0000 (22:34 +0530)
bash-completion/lsns

index 79c719056c47d8a7b64d71c3e86e26c8d97a896f..c7518bacbe766fafa3d6ddb0a655d680951f46ae 100644 (file)
@@ -26,7 +26,7 @@ _lsns_module()
                        return 0
                        ;;
                '-t'|'--type')
-                       COMPREPLY=( $(compgen -W "mnt net ipc user pid uts cgroup" -- $cur) )
+                       COMPREPLY=( $(compgen -W "mnt net ipc user pid uts cgroup time" -- $cur) )
                        return 0
                        ;;
                '-h'|'--help'|'-V'|'--version')
@@ -36,6 +36,7 @@ _lsns_module()
        case $cur in
                -*)
                        COMPREPLY=( $(compgen -W "
+                                       --list-columns
                                        --filter
                                        --json
                                        --list
@@ -46,14 +47,15 @@ _lsns_module()
                                        --task
                                        --raw
                                        --notruncate
+                                       --nowrap
                                        --type
+                                       --tree
                                        --help
                                        --version
                                " -- $cur) )
                        return 0
                        ;;
        esac
-       COMPREPLY=( $(compgen -W "mnt net pid uts ipc user" -- $cur ) )
        return 0
 }
 complete -F _lsns_module lsns