aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/locate.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/locate.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/locate.fish')
-rw-r--r--share/completions/locate.fish36
1 files changed, 18 insertions, 18 deletions
diff --git a/share/completions/locate.fish b/share/completions/locate.fish
index db4163f5..7e16ffd6 100644
--- a/share/completions/locate.fish
+++ b/share/completions/locate.fish
@@ -1,19 +1,19 @@
-complete -c locate -s b -l basename -d (N_ "Match only the base name against the specified patterns")
-complete -c locate -s c -l count -d (N_ "Instead of writing file names on standard output, write the number of matching entries only")
-complete -c locate -s d -l database -d (N_ "Replace the default database with specified path") -r
-complete -c locate -s e -l existing -d (N_ "Print only entries that refer to files existing at the time locate is run")
-complete -c locate -s L -l follow -d (N_ "Follow symlinks when checking for existing files")
-complete -c locate -s h -l help -d (N_ "Display help and exit")
-complete -c locate -s i -l ignore-case -d (N_ "Ignore case distinctions when matching patterns")
-complete -c locate -s l -s n -l limit -d (N_ "Exit successfully after finding specified number of entires") -r
-complete -c locate -s m -l mmap -d (N_ "Ignored")
-complete -c locate -s P -s H -l nofollow -d (N_ "Do not follow symlinks when checking for existing files")
-complete -c locate -s 0 -l null -d (N_ "Separate the entries on output using the ASCII NUL character instead of writing each entry on a separate line")
-complete -c locate -s S -l statistics -d (N_ "Write statistics about each read database to standard output")
-complete -c locate -s q -l quiet -d (N_ "Write no messages about errors encountered")
-complete -c locate -s r -l regexp -d (N_ "Search for specified basic regex") -r
-complete -c locate -l regex -d (N_ "Interpret all patterns as extended regexps")
-complete -c locate -s s -l stdio -d (N_ "Ignored")
-complete -c locate -s V -l version -d (N_ "Display version and exit")
-complete -c locate -s w -l wholename -d (N_ "Match only the whole path name against the specified patterns")
+complete -c locate -s b -l basename --description "Match only the base name against the specified patterns"
+complete -c locate -s c -l count --description "Instead of writing file names on standard output, write the number of matching entries only"
+complete -c locate -s d -l database --description "Replace the default database with specified path" -r
+complete -c locate -s e -l existing --description "Print only entries that refer to files existing at the time locate is run"
+complete -c locate -s L -l follow --description "Follow symlinks when checking for existing files"
+complete -c locate -s h -l help --description "Display help and exit"
+complete -c locate -s i -l ignore-case --description "Ignore case distinctions when matching patterns"
+complete -c locate -s l -s n -l limit --description "Exit successfully after finding specified number of entires" -r
+complete -c locate -s m -l mmap --description "Ignored"
+complete -c locate -s P -s H -l nofollow --description "Do not follow symlinks when checking for existing files"
+complete -c locate -s 0 -l null --description "Separate the entries on output using the ASCII NUL character instead of writing each entry on a separate line"
+complete -c locate -s S -l statistics --description "Write statistics about each read database to standard output"
+complete -c locate -s q -l quiet --description "Write no messages about errors encountered"
+complete -c locate -s r -l regexp --description "Search for specified basic regex" -r
+complete -c locate -l regex --description "Interpret all patterns as extended regexps"
+complete -c locate -s s -l stdio --description "Ignored"
+complete -c locate -s V -l version --description "Display version and exit"
+complete -c locate -s w -l wholename --description "Match only the whole path name against the specified patterns"