aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/uniq.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/uniq.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/uniq.fish')
-rw-r--r--share/completions/uniq.fish20
1 files changed, 10 insertions, 10 deletions
diff --git a/share/completions/uniq.fish b/share/completions/uniq.fish
index d68daba9..0027d71f 100644
--- a/share/completions/uniq.fish
+++ b/share/completions/uniq.fish
@@ -1,15 +1,15 @@
-complete -c uniq -s c -l count -d (N_ "Print number of occurences")
-complete -c uniq -s d -l repeated -d (N_ "Only print duplicates")
-complete -c uniq -s D -l all-repeated -d (N_ "Remove non-duplicate lines") -f -x -a "
+complete -c uniq -s c -l count --description "Print number of occurences"
+complete -c uniq -s d -l repeated --description "Only print duplicates"
+complete -c uniq -s D -l all-repeated --description "Remove non-duplicate lines" -f -x -a "
none\t'Remove none-duplicate lines'
prepend\t'Remove non-duplicate lines and print an empty line before each non-duplicate'
separate\t'Remove non-duplicate lines and print an empty line between each non-duplicate'
"
-complete -c uniq -s f -l skip-fields -d (N_ "Avoid comparing first N fields") -r
-complete -c uniq -s i -l ignore-case -d (N_ "Case insensitive")
-complete -c uniq -s s -l skip-chars -d (N_ "Avoid comparing first N characters") -r
-complete -c uniq -s u -l unique -d (N_ "Only print unique lines")
-complete -c uniq -s w -l check-chars -d (N_ "Compare only specified number of characters") -r
-complete -c uniq -l help -d (N_ "Display help and exit")
-complete -c uniq -l version -d (N_ "Display version and exit")
+complete -c uniq -s f -l skip-fields --description "Avoid comparing first N fields" -r
+complete -c uniq -s i -l ignore-case --description "Case insensitive"
+complete -c uniq -s s -l skip-chars --description "Avoid comparing first N characters" -r
+complete -c uniq -s u -l unique --description "Only print unique lines"
+complete -c uniq -s w -l check-chars --description "Compare only specified number of characters" -r
+complete -c uniq -l help --description "Display help and exit"
+complete -c uniq -l version --description "Display version and exit"