about summary refs log tree commit diff
path: root/Completion/Unix/Command/_nmap
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-11-09 16:53:30 +0100
committerOliver Kiddle <opk@zsh.org>2016-11-09 16:55:14 +0100
commit370b278565126a0abf3382ba10965e7a1090e7f8 (patch)
treea9df0cab2ff7932fa3aaa9c34a7392abfa47dd81 /Completion/Unix/Command/_nmap
parent496626ddb8ed9d16b4f89c28c733e3312decebe6 (diff)
downloadzsh-370b278565126a0abf3382ba10965e7a1090e7f8.tar.gz
zsh-370b278565126a0abf3382ba10965e7a1090e7f8.tar.xz
zsh-370b278565126a0abf3382ba10965e7a1090e7f8.zip
39890: typo corrections in completion functions
Diffstat (limited to 'Completion/Unix/Command/_nmap')
-rw-r--r--Completion/Unix/Command/_nmap4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_nmap b/Completion/Unix/Command/_nmap
index 437e68b7d..b3d3d488a 100644
--- a/Completion/Unix/Command/_nmap
+++ b/Completion/Unix/Command/_nmap
@@ -5,7 +5,7 @@ local curcontext="$curcontext" state line suf ret=1
 _arguments -C \
   '!-sI:zombie host:_hosts' \
   '!-P'{T,S,U}'+:port list' \
-  '*-s-[specify scan type]:scan type:((S\:TCP\ SYN\ scan T\:TCP\ connect\(\)\ scan F\:stealth\ FIN\ scan X\:stealth\ Xmas\ tree\ scan N\:stealth\ null\ scan P\:ping\ scanning U\:UDP\ scan O\:IP\ prototocol\ scan I\:idle\ scan A\:ACK\ scan W\:window\ scan R\:RPC\ scan L\:list\ scan V\:version\ detection))' \
+  '*-s-[specify scan type]:scan type:((S\:TCP\ SYN\ scan T\:TCP\ connect\(\)\ scan F\:stealth\ FIN\ scan X\:stealth\ Xmas\ tree\ scan N\:stealth\ null\ scan P\:ping\ scanning U\:UDP\ scan O\:IP\ protocol\ scan I\:idle\ scan A\:ACK\ scan W\:window\ scan R\:RPC\ scan L\:list\ scan V\:version\ detection))' \
   '-b[specify ftp relay host]:ftp relay host:_hosts' \
   '*-P-[specify probe types and options]:probe type/options:->probe-opts' \
   '-A[enable OS detection and version scanning]' \
@@ -29,7 +29,7 @@ _arguments -C \
   '--data_length[add random data to packets]:data length' \
   '(-R)-n[skip reverse DNS to speed things up]' \
   '(-n)-R[always do reverse DNS on targets]' \
-  '-r[do not ramdomize order in which ports are scanned]' \
+  "-r[don't randomize order in which ports are scanned]" \
   '-ttl[specify IPv4 time to live for sent packets]' \
   '--randomize_hosts[scan hosts in random order]' \
   '-M[specify maximum number of parallel TCP connects]:maximum TCP connects' \