]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
bash-completion: add column --table-columns-limit
authorKarel Zak <kzak@redhat.com>
Tue, 25 Aug 2020 12:23:28 +0000 (14:23 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 25 Aug 2020 12:23:28 +0000 (14:23 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
bash-completion/column

index c5a998b6e11167a18d6ab22f71bb557c885f40fa..1f47aecc85d2ef56a97c93153d7b2d3bbb984ec9 100644 (file)
@@ -5,7 +5,7 @@ _column_module()
        cur="${COMP_WORDS[COMP_CWORD]}"
        prev="${COMP_WORDS[COMP_CWORD-1]}"
        case $prev in
-               '-c'|'--output-width')
+               '-c'|'--output-width'|'-l'|'--table-columns-limit')
                        COMPREPLY=( $(compgen -W "number" -- $cur) )
                        return 0
                        ;;
@@ -32,6 +32,7 @@ _column_module()
                                --table-name
                                --table-order
                                --table-columns
+                               --table-columns-limit
                                --table-noextreme
                                --table-noheadings
                                --table-header-repeat