Skip to content

Commit a9768a0

Browse files
committed
zsh: genfstab bring it up-to date
Add the -f(ilter) and -t(ag) options. The latter being mutually exclusive with -L/-U. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
1 parent 1ad274a commit a9768a0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

completion/zsh/_genfstab

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
local -a args=(
44
'(-h --help)'{-h,--help}'[display help]'
55
'-p[Avoid printing pseudofs mounts]'
6-
'(-U)-L[Use labels for source identifiers]'
7-
'(-L)-U[Use UUIDs for source identifiers]'
6+
'-f[Restrict output to mountpoints matching the prefix FILTER]'
7+
'(-U -L)-t[Use TAG for source identifiers]:tag:(LABEL UUID PARTLABEL PARTUUID)'
8+
'(-U -t)-L[Use labels for source identifiers]'
9+
'(-L -t)-U[Use UUIDs for source identifiers]'
810
':*:_path_files -/'
911
)
1012

0 commit comments

Comments
 (0)