aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/fusermount.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/fusermount.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/fusermount.fish')
-rw-r--r--share/completions/fusermount.fish14
1 files changed, 7 insertions, 7 deletions
diff --git a/share/completions/fusermount.fish b/share/completions/fusermount.fish
index 45ae8922..df46a828 100644
--- a/share/completions/fusermount.fish
+++ b/share/completions/fusermount.fish
@@ -3,17 +3,17 @@
#
# Find mount points, borrowed from umount.fish
#
-complete -c fusermount -d (N_ "Mount point") -x -a '
+complete -c fusermount --description "Mount point" -x -a '
(
cat /etc/mtab | sgrep "^sshfs" | cut -d " " -f 1-2|tr " " \n|sed -e "s/[0-9\.]*:\//\//"|sgrep "^/"
cat /etc/mtab | sgrep "^fuseiso" | cut -d " " -f 1-2|tr " " \n|sed -e "s/[0-9\.]*:\//\//"|sgrep "^/"
)
'
-complete -c fusermount -s h -d (N_ "Display help and exit")
-complete -c fusermount -s v -d (N_ "Display version and exit")
-complete -c fusermount -s o -x -d (N_ "Mount options")
-complete -c fusermount -s u -d (N_ "Unmount")
-complete -c fusermount -s q -d (N_ "Quiet")
-complete -c fusermount -s z -d (N_ "Lazy unmount")
+complete -c fusermount -s h --description "Display help and exit"
+complete -c fusermount -s v --description "Display version and exit"
+complete -c fusermount -s o -x --description "Mount options"
+complete -c fusermount -s u --description "Unmount"
+complete -c fusermount -s q --description "Quiet"
+complete -c fusermount -s z --description "Lazy unmount"