aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/ping.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/ping.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/ping.fish')
-rw-r--r--share/completions/ping.fish56
1 files changed, 28 insertions, 28 deletions
diff --git a/share/completions/ping.fish b/share/completions/ping.fish
index a9f6b687..37ef21ac 100644
--- a/share/completions/ping.fish
+++ b/share/completions/ping.fish
@@ -1,30 +1,30 @@
complete -c ping -a "(__fish_print_hostnames)" -x
-complete -c ping -s a -d (N_ "Audible ping")
-complete -c ping -s A -d (N_ "Adaptive ping")
-complete -c ping -s b -d (N_ "Allow pinging a broadcast address")
-complete -c ping -s B -d (N_ "Do not allow ping to change source address of probes")
-complete -c ping -s c -d (N_ "Stop after specified number of ECHO_REQUEST packets") -x
-complete -c ping -s d -d (N_ "Set the SO_DEBUG option on the socket being used")
-complete -c ping -s F -d (N_ "Allocate and set 20 bit flow label on ECHO_REQUEST packets") -x
-complete -c ping -s f -d (N_ "Flood ping")
-complete -c ping -s i -d (N_ "Wait specified interval of seconds between sending each packet") -x
-complete -c ping -s I -d (N_ "Set source address to specified interface address") -x -a "(__fish_print_interfaces; fish_print_addresses)"
-complete -c ping -s l -d (N_ "Send the specified number of packets without waiting for reply") -x
-complete -c ping -s L -d (N_ "Suppress loopback of multicast packets")
-complete -c ping -s n -d (N_ "Numeric output only")
-complete -c ping -s p -d (N_ "Pad packet with empty bytes") -x
-complete -c ping -s Q -d (N_ "Set Quality of Service -related bits in ICMP datagrams") -x
-complete -c ping -s q -d (N_ "Quiet mode")
-complete -c ping -s R -d (N_ "Record route")
-complete -c ping -s r -d (N_ "Bypass the normal routing tables and send directly to a host on an attached interface")
-complete -c ping -s s -d (N_ "Specifies the number of data bytes to be sent") -x
-complete -c ping -s S -d (N_ "Set socket buffer size") -x
-complete -c ping -s t -d (N_ "Set the IP Time to Live") -x
-complete -c ping -s T -d (N_ "Set special IP timestamp options") -x
-complete -c ping -s M -d (N_ "Select Path MTU Discovery strategy") -x -a "do want dont"
-complete -c ping -s U -d (N_ "Print full user-to-user latency")
-complete -c ping -s v -d (N_ "Verbose mode")
-complete -c ping -s V -d (N_ "Display version and exit")
-complete -c ping -s w -d (N_ "Specify a timeout, in seconds, before ping exits regardless of how many packets have been sent or received") -x
-complete -c ping -s W -d (N_ "Time to wait for a response, in seconds") -x
+complete -c ping -s a --description "Audible ping"
+complete -c ping -s A --description "Adaptive ping"
+complete -c ping -s b --description "Allow pinging a broadcast address"
+complete -c ping -s B --description "Do not allow ping to change source address of probes"
+complete -c ping -s c --description "Stop after specified number of ECHO_REQUEST packets" -x
+complete -c ping -s d --description "Set the SO_DEBUG option on the socket being used"
+complete -c ping -s F --description "Allocate and set 20 bit flow label on ECHO_REQUEST packets" -x
+complete -c ping -s f --description "Flood ping"
+complete -c ping -s i --description "Wait specified interval of seconds between sending each packet" -x
+complete -c ping -s I --description "Set source address to specified interface address" -x -a "(__fish_print_interfaces; fish_print_addresses)"
+complete -c ping -s l --description "Send the specified number of packets without waiting for reply" -x
+complete -c ping -s L --description "Suppress loopback of multicast packets"
+complete -c ping -s n --description "Numeric output only"
+complete -c ping -s p --description "Pad packet with empty bytes" -x
+complete -c ping -s Q --description "Set Quality of Service -related bits in ICMP datagrams" -x
+complete -c ping -s q --description "Quiet mode"
+complete -c ping -s R --description "Record route"
+complete -c ping -s r --description "Bypass the normal routing tables and send directly to a host on an attached interface"
+complete -c ping -s s --description "Specifies the number of data bytes to be sent" -x
+complete -c ping -s S --description "Set socket buffer size" -x
+complete -c ping -s t --description "Set the IP Time to Live" -x
+complete -c ping -s T --description "Set special IP timestamp options" -x
+complete -c ping -s M --description "Select Path MTU Discovery strategy" -x -a "do want dont"
+complete -c ping -s U --description "Print full user-to-user latency"
+complete -c ping -s v --description "Verbose mode"
+complete -c ping -s V --description "Display version and exit"
+complete -c ping -s w --description "Specify a timeout, in seconds, before ping exits regardless of how many packets have been sent or received" -x
+complete -c ping -s W --description "Time to wait for a response, in seconds" -x