about summary refs log tree commit diff
path: root/docs/tool/NaturalDocs.bat
blob: 59e39631994575cfdda0118d11560e5213821934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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=