]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - bash-completion/lsns
tests: update fdisk output
[thirdparty/util-linux.git] / bash-completion / lsns
index 8cf0a31f9a16216dcc1d449ef83c662035956af0..8964606cb5739bd56fc0a4b666d2f60ea1663528 100644 (file)
@@ -14,7 +14,7 @@ _lsns_module()
                        prefix="${cur%$realcur}"
                        for WORD in $LSNS_COLS_ALL; do
                                if ! [[ $prefix == *"$WORD"* ]]; then
-                                       LSNS_COLS="$WORD $LSNS_COLS"
+                                       LSNS_COLS="$WORD ${LSNS_COLS:-""}"
                                fi
                        done
                        compopt -o nospace
@@ -40,6 +40,7 @@ _lsns_module()
                                        --list
                                        --noheadings
                                        --output
+                                       --output-all
                                        --task
                                        --raw
                                        --notruncate