aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/umount.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/umount.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/umount.fish')
-rw-r--r--share/completions/umount.fish26
1 files changed, 13 insertions, 13 deletions
diff --git a/share/completions/umount.fish b/share/completions/umount.fish
index 339bef1a..1705ddcf 100644
--- a/share/completions/umount.fish
+++ b/share/completions/umount.fish
@@ -5,18 +5,18 @@
#
# Find all mountpoints
#
-complete -c umount -d (N_ "Mount point") -x -a '(cat /etc/mtab | cut -d " " -f 1-2|tr " " \n|sed -e "s/[0-9\.]*:\//\//"|sgrep "^/")'
+complete -c umount --description "Mount point") -x -a '(cat /etc/mtab | cut -d " " -f 1-2|tr " " \n|sed -e "s/[0-9\.]*:\//\//"|sgrep "^/"'
-complete -c umount -s V -d (N_ "Display version and exit")
-complete -c umount -s h -d (N_ "Display help and exit")
-complete -c umount -s v -d (N_ "Verbose mode")
-complete -c umount -s n -d (N_ "Unmount without writing in /etc/mtab")
-complete -c umount -s r -d (N_ "In case unmounting fails, try to remount read-only")
-complete -c umount -s d -d (N_ "In case the unmounted device was a loop device, also free this loop device")
-complete -c umount -s i -d (N_ "Don't call the /sbin/umount.<filesystem> helper even if it exists")
-complete -c umount -s a -d (N_ "Unmount all of the file systems described in /etc/mtab")
-complete -c umount -s t -d (N_ "Actions should only be taken on file systems of the specified type") -xa "(__fish_print_filesystems)"
-complete -c umount -s O -d (N_ "Actions should only be taken on file systems with the specified options in /etc/fstab") -xa '(cat /etc/mtab | cut -d " " -f 4)\t"Mount option"'
-complete -c umount -s f -d (N_ "Force unmount (in case of an unreachable NFS system)")
-complete -c umount -s l -d (N_ "Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy")
+complete -c umount -s V --description "Display version and exit"
+complete -c umount -s h --description "Display help and exit"
+complete -c umount -s v --description "Verbose mode"
+complete -c umount -s n --description "Unmount without writing in /etc/mtab"
+complete -c umount -s r --description "In case unmounting fails, try to remount read-only"
+complete -c umount -s d --description "In case the unmounted device was a loop device, also free this loop device"
+complete -c umount -s i --description "Don't call the /sbin/umount.<filesystem> helper even if it exists"
+complete -c umount -s a --description "Unmount all of the file systems described in /etc/mtab"
+complete -c umount -s t --description "Actions should only be taken on file systems of the specified type" -xa "(__fish_print_filesystems)"
+complete -c umount -s O --description "Actions should only be taken on file systems with the specified options in /etc/fstab" -xa '(cat /etc/mtab | cut -d " " -f 4)\t"Mount option"'
+complete -c umount -s f --description "Force unmount (in case of an unreachable NFS system)"
+complete -c umount -s l --description "Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy"