diff options
author | Sami Kerola | 2015-08-02 22:24:08 +0200 |
---|---|---|
committer | Karel Zak | 2015-08-03 12:35:18 +0200 |
commit | 24bdce6ea844fd11f27808aed165e3d7dbb62d5c (patch) | |
tree | aa0e62a64741038ba0568cb0ce7d7051d818febe /bash-completion/findmnt | |
parent | tests: fix minix test (diff) | |
download | kernel-qcow2-util-linux-24bdce6ea844fd11f27808aed165e3d7dbb62d5c.tar.gz kernel-qcow2-util-linux-24bdce6ea844fd11f27808aed165e3d7dbb62d5c.tar.xz kernel-qcow2-util-linux-24bdce6ea844fd11f27808aed165e3d7dbb62d5c.zip |
bash-completion: update few options changed since v2.26
Attempt to find and update all changes to command line options that has
not been reflected in bash-completion files in between versions v2.26 to
v2.27-rc1.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'bash-completion/findmnt')
-rw-r--r-- | bash-completion/findmnt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bash-completion/findmnt b/bash-completion/findmnt index 3ad914735..d7e06c8d4 100644 --- a/bash-completion/findmnt +++ b/bash-completion/findmnt @@ -85,6 +85,12 @@ _findmnt_module() COMPREPLY=( $(compgen -W "$DEV_MPOINT" -- $cur) ) return 0 ;; + '-M'|'--mountpoint') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/") ) + return 0 + ;; '-h'|'--help'|'-V'|'--version') return 0 ;; @@ -105,6 +111,7 @@ _findmnt_module() --tab-file --first-only --invert + --json --list --task --noheadings @@ -118,6 +125,7 @@ _findmnt_module() --submounts --source --target + --mountpoint --help --version" COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) |