aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/su.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/su.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/su.fish')
-rw-r--r--share/completions/su.fish14
1 files changed, 7 insertions, 7 deletions
diff --git a/share/completions/su.fish b/share/completions/su.fish
index 6520e288..c75a617e 100644
--- a/share/completions/su.fish
+++ b/share/completions/su.fish
@@ -1,12 +1,12 @@
# Completions for su
complete -x -c su -a "(__fish_complete_users)"
-complete -c su -s l -l login -d (N_ "Make login shell")
-complete -r -c su -s c -l command -d (N_ "Pass command to shell") -xa "(__fish_complete_command)"
-complete -c su -s f -l fast -d (N_ "Pass -f to the shell")
-complete -c su -s m -l preserve_environment -d (N_ "Preserve environment")
-complete -c su -s p -d (N_ "Preserve environment")
+complete -c su -s l -l login --description "Make login shell"
+complete -r -c su -s c -l command --description "Pass command to shell" -xa "(__fish_complete_command)"
+complete -c su -s f -l fast --description "Pass -f to the shell"
+complete -c su -s m -l preserve_environment --description "Preserve environment"
+complete -c su -s p --description "Preserve environment"
complete -x -c su -s s -l shell -a "(cat /etc/shells)"
-complete -c su -l help -d (N_ "Display help and exit")
-complete -c su -l version -d (N_ "Display version and exit")
+complete -c su -l help --description "Display help and exit"
+complete -c su -l version --description "Display version and exit"