summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorthatakkarin <thatakkarin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-25 20:42:27 +0000
committerthatakkarin <thatakkarin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-25 20:42:27 +0000
commitd9c5c4784a0abc43fb9e01f365a0d8b3a15a0692 (patch)
treec1777dfe98ae42b2e12dc5b8389641744479deb2 /tools
parenta8fedec270c751ee212cf5c8d5c1eab9dbca5f9c (diff)
downloadhercules-d9c5c4784a0abc43fb9e01f365a0d8b3a15a0692.tar.gz
hercules-d9c5c4784a0abc43fb9e01f365a0d8b3a15a0692.tar.bz2
hercules-d9c5c4784a0abc43fb9e01f365a0d8b3a15a0692.tar.xz
hercules-d9c5c4784a0abc43fb9e01f365a0d8b3a15a0692.zip
* Misc spelling fixes
* Added @lkami to list of current @kami variations in doc/atcommands.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16967 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'tools')
-rwxr-xr-xtools/check-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check-doc b/tools/check-doc
index 4e8d036e8..4a5dccc88 100755
--- a/tools/check-doc
+++ b/tools/check-doc
@@ -5,7 +5,7 @@
case $1 in
'script')
#find which script commands are missing from doc/script_commands.txt
- echo "Missing scipt documentation for function :"
+ echo "Missing script documentation for function :"
awk '/BUILDIN_DEF\(.*\),/ {b=match($0,"BUILDIN_DEF(.*),");c=match($0,",");print substr($0,b+12,c-b-12);}' ../src/map/script.c | xargs -I{} sh -c '! grep -Lq {} ../doc/script_commands.txt && echo {}'
awk '/BUILDIN_DEF2\(.*\),/ {b=match($0,"BUILDIN_DEF2(.*),");c=match($0,",");d=match($0 ,"\",\"");print substr($0,c+2,d-c-2);}' ../src/map/script.c | xargs -I{} sh -c '! grep -Lq {} ../doc/script_commands.txt && echo {}'
;;