about summary refs log tree commit diff
path: root/docs/tool/NaturalDocs.bat
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tool/NaturalDocs.bat')
-rw-r--r--docs/tool/NaturalDocs.bat17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/tool/NaturalDocs.bat b/docs/tool/NaturalDocs.bat
new file mode 100644
index 00000000..59e39631
--- /dev/null
+++ b/docs/tool/NaturalDocs.bat
@@ -0,0 +1,17 @@
+@echo off

+

+set NaturalDocsParams=

+

+rem Shift and loop so we can get more than nine parameters.

+rem This is especially important if we have spaces in file names.

+

+:MORE

+if "%1"=="" goto NOMORE

+set NaturalDocsParams=%NaturalDocsParams% %1

+shift

+goto MORE

+:NOMORE

+

+perl NaturalDocs %NaturalDocsParams%

+

+set NaturalDocsParams=
\ No newline at end of file