aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/sudo.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/sudo.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/sudo.fish')
-rw-r--r--share/completions/sudo.fish6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/completions/sudo.fish b/share/completions/sudo.fish
index b497e8bd..fb77838f 100644
--- a/share/completions/sudo.fish
+++ b/share/completions/sudo.fish
@@ -2,7 +2,7 @@
# Completion for sudo
#
-complete -c sudo -d (N_ "Command to run") -x -a '(__fish_complete_subcommand_root)'
+complete -c sudo --description "Command to run" -x -a '(__fish_complete_subcommand_root)'
-complete -c sudo -s h -n "__fish_no_arguments" -d (N_ "Display help and exit")
-complete -c sudo -s v -n "__fish_no_arguments" -d (N_ "Validate")
+complete -c sudo -s h -n "__fish_no_arguments" --description "Display help and exit"
+complete -c sudo -s v -n "__fish_no_arguments" --description "Validate"