[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-17-g3aa040d
Igor Murzov
e-mail at date.by
Sun Jul 22 12:44:39 UTC 2012
The following commit has been merged in the master branch:
commit 3aa040d25f5556b6e9bf92c784072aba7620f729
Author: Igor Murzov <e-mail at date.by>
Date: Sun Jul 22 16:38:30 2012 +0400
mount.linux: Clean up mount options, remove duplicates.
diff --git a/completions/mount.linux b/completions/mount.linux
index 9d58735..d1c08c5 100644
--- a/completions/mount.linux
+++ b/completions/mount.linux
@@ -72,15 +72,14 @@ _mount()
# no completion if $cur is opt=smth
[[ "$cur" == *=* ]] && return
# mount options
- COMPREPLY=( $(compgen -W 'loop async {,no}atime {,no}auto
+ COMPREPLY=( $(compgen -W 'loop {,a}sync {,no}atime {,no}auto
{,fs,def,root}context= defaults {,no}dev {,no}diratime dirsync
{,no}exec group {,no}iversion {,no}mand _netdev nofail
{,no}relatime {,no}strictatime {,no}suid owner remount ro rw
- sync {,no}user users' -- "$cur") )
+ {,no}user users' -- "$cur") )
case "$fstype" in
adfs|auto)
- COMPREPLY+=( $(compgen -W 'uid= gid= {own,oth}mask=' -- \
- "$cur") )
+ COMPREPLY+=( $(compgen -W '{u,g}id= {own,oth}mask=' -- "$cur") )
;;&
affs|auto)
COMPREPLY+=( $(compgen -W '{u,g}id= set{u,g}id= mode= protect
@@ -97,7 +96,7 @@ _mount()
cifs|auto)
COMPREPLY+=( $(compgen -W 'user= password= credentials= {u,g}id=
force{u,g}id port= servern= netbiosname= {file,dir}_mode=
- ip= domain= guest iocharset ro rw {,no}setuids {,no,dyn}perm
+ ip= domain= guest iocharset {,no}setuids {,no,dyn}perm
directio {,no}mapchars {,no}intr hard soft noacl nocase sec=
nobrl sfu {,no}serverino nounix nouser_xattr {r,w}size=
rwpidforward backup{u,g}id cache=' -- "$cur") )
@@ -143,8 +142,8 @@ _mount()
;;&
ntfs-3g)
COMPREPLY+=( $(compgen -W '{u,g}id= {u,f,d}mask= usermapping=
- permissions inherit ro locale= force {,no}recover
- ignore_case remove_hiberfile {,no,rel}atime show_sys_files
+ permissions inherit locale= force {,no}recover
+ ignore_case remove_hiberfile show_sys_files
hide_{hid,dot}_files windows_names allow_other max_read=
silent no_def_opts streams_interface= user_xattr efs_raw
{,no}compression debug no_detach' -- "$cur") )
@@ -174,7 +173,7 @@ _mount()
COMPREPLY+=( $(compgen -W 'allocsize= {,no}attr2 barrier dmapi
{,no}grpid {bsd,sysv}groups ihashsize= {,no}ikeep inode64
{,no}largeio logbufs= logbsize= logdev= rtdev= mtpt= noalign
- noatime norecovery nouuid osyncisosync {u,g,p}qnoenforce
+ norecovery nouuid osyncisosync {u,g,p}qnoenforce
{,u,usr,g,grp,p,prj}quota sunit= swidth= swalloc' \
-- "$cur") )
;;&
--
bash-completion
More information about the Bash-completion-commits
mailing list