aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/time.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/time.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/time.fish')
-rw-r--r--share/completions/time.fish16
1 files changed, 8 insertions, 8 deletions
diff --git a/share/completions/time.fish b/share/completions/time.fish
index 4c1b4000..61b8ea56 100644
--- a/share/completions/time.fish
+++ b/share/completions/time.fish
@@ -1,11 +1,11 @@
-complete -c time -a "(__fish_complete_subcommand -- -o --output -f --format)" -d (N_ "Command")
+complete -c time -a "(__fish_complete_subcommand -- -o --output -f --format)" --description "Command"
-complete -c time -s f -l format -n "__fish_no_arguments" -d (N_ "Specify output format") -x
-complete -c time -s p -l portable -n "__fish_no_arguments" -d (N_ "Use the portable output format")
-complete -c time -s o -l output -n "__fish_no_arguments" -d (N_ "Do not send the results to stderr, but overwrite the specified file") -r
-complete -c time -s a -l append -n "__fish_no_arguments" -d (N_ "(Used together with -o) Do not overwrite but append")
-complete -c time -s v -l verbose -n "__fish_no_arguments" -d (N_ "Verbose mode")
-complete -c time -l help -n "__fish_no_arguments" -d (N_ "Display help and exit")
-complete -c time -s V -l version -n "__fish_no_arguments" -d (N_ "Display version and exit")
+complete -c time -s f -l format -n "__fish_no_arguments" --description "Specify output format" -x
+complete -c time -s p -l portable -n "__fish_no_arguments" --description "Use the portable output format"
+complete -c time -s o -l output -n "__fish_no_arguments" --description "Do not send the results to stderr, but overwrite the specified file" -r
+complete -c time -s a -l append -n "__fish_no_arguments" --description "(Used together with -o) Do not overwrite but append"
+complete -c time -s v -l verbose -n "__fish_no_arguments" --description "Verbose mode"
+complete -c time -l help -n "__fish_no_arguments" --description "Display help and exit"
+complete -c time -s V -l version -n "__fish_no_arguments" --description "Display version and exit"