aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/mount.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2007-01-16 11:18:28 +1000
committerGravatar axel <axel@liljencrantz.se>2007-01-16 11:18:28 +1000
commit34e27ff4c216e2d379afba19fed2761a684697d8 (patch)
treea1429d6c9796caf54c3f4d440e740a88e3aa76aa /share/completions/mount.fish
parent47588c8e75f56f6065a4eb6d4e3bccbad4fab14e (diff)
Drop use of the N_ no-op for translation descriptions. Instead, tell xgettext that any token following '--description' should be translated. This should greatly speed up completion loading on platforms where fork() is slow. (Hi, OS X)
darcs-hash:20070116011828-ac50b-fb923dc877869ded4d506bbe0bc5364eea44092f.gz
Diffstat (limited to 'share/completions/mount.fish')
-rw-r--r--share/completions/mount.fish38
1 files changed, 19 insertions, 19 deletions
diff --git a/share/completions/mount.fish b/share/completions/mount.fish
index 02960638..133c47cc 100644
--- a/share/completions/mount.fish
+++ b/share/completions/mount.fish
@@ -4,26 +4,26 @@
# including mount and df
# Completions for mount
-complete -x -c mount -a '(cat /etc/fstab|sed -e "s/^\([^ \t]*\)[ \t]*\([^ \t]*\).*/\1\n\2/"|sgrep "^/")' -d (N_ 'Mount point')
-complete -c mount -s V -d (N_ 'Display version and exit')
-complete -c mount -s h -d (N_ 'Display help and exit')
-complete -c mount -s v -d (N_ 'Verbose mode')
-complete -c mount -s a -d (N_ 'Mount filesystems in fstab')
-complete -c mount -s F -d (N_ 'Fork process for each mount')
-complete -c mount -s f -d (N_ 'Fake mounting')
-complete -c mount -s l -d (N_ 'Add label to output')
-complete -c mount -s n -d (N_ 'Do not write mtab')
-complete -c mount -s s -d (N_ 'Tolerate sloppy mount options')
-complete -c mount -s r -d (N_ 'Read only')
-complete -c mount -s w -d (N_ 'Read/Write mode')
-complete -x -c mount -s L -d (N_ 'Mount partition with specified label')
-complete -x -c mount -s U -d (N_ 'Mount partition with specified UID')
-complete -c mount -s O -x -d (N_ 'Exclude filesystems')
-complete -c mount -l bind -f -d (N_ 'Remount a subtree to a second position')
-complete -c mount -l move -f -d (N_ 'Move a subtree to a new position')
-complete -c mount -x -s t -d (N_ 'Filesystem') -a "(__fish_print_filesystems)"
+complete -x -c mount -a '(cat /etc/fstab|sed -e "s/^\([^ \t]*\)[ \t]*\([^ \t]*\).*/\1\n\2/"|sgrep "^/")' --description 'Mount point'
+complete -c mount -s V --description 'Display version and exit'
+complete -c mount -s h --description 'Display help and exit'
+complete -c mount -s v --description 'Verbose mode'
+complete -c mount -s a --description 'Mount filesystems in fstab'
+complete -c mount -s F --description 'Fork process for each mount'
+complete -c mount -s f --description 'Fake mounting'
+complete -c mount -s l --description 'Add label to output'
+complete -c mount -s n --description 'Do not write mtab'
+complete -c mount -s s --description 'Tolerate sloppy mount options'
+complete -c mount -s r --description 'Read only'
+complete -c mount -s w --description 'Read/Write mode'
+complete -x -c mount -s L --description 'Mount partition with specified label'
+complete -x -c mount -s U --description 'Mount partition with specified UID'
+complete -c mount -s O -x --description 'Exclude filesystems'
+complete -c mount -l bind -f --description 'Remount a subtree to a second position'
+complete -c mount -l move -f --description 'Move a subtree to a new position'
+complete -c mount -x -s t --description 'Filesystem' -a "(__fish_print_filesystems)"
-complete -c mount -x -s o -d (N_ 'Mount option') -a '(__fish_append , $__fish_mount_opts)'
+complete -c mount -x -s o --description 'Mount option' -a '(__fish_append , $__fish_mount_opts)'
set -g __fish_mount_opts async\tUse\ asynchronous\ I/O atime\tUpdate\ time\ on\ each\ access auto\tMounted\ with\ -a defaults\tUse\ default\ options dev\tInterpret\ character/block\ special\ devices exec\tPermit\ executables _netdev\tFilesystem\ uses\ network noatime\tDo\ not\ update\ time\ on\ each\ access noauto\tNot\ mounted\ by\ -a nodev\tDo\ not\ interpret\ character/block\ special\ devices noexec\tDo\ not\ permit\ executables nosuid\tIgnore\ suid\ bits nouser\tOnly\ root\ may\ mount remount\tRemount\ read-only\ filesystem ro\tMount\ read-only rw\tMount\ read-write suid\tAllow\ suid\ bits sync\tUse\ synchronous\ I/O dirsync\tUse\ synchronous\ directory\ operations user\tAny\ user\ may\ mount users\tAny\ user\ may\ mount\ and\ unmount