aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/mkunit.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/mkunit.cpp b/src/tools/mkunit.cpp
index 0454013..12ce65f 100644
--- a/src/tools/mkunit.cpp
+++ b/src/tools/mkunit.cpp
@@ -540,6 +540,11 @@ private:
540 540
541int main( int argc, char *argv[] ) 541int main( int argc, char *argv[] )
542{ 542{
543 if( argc < 3 )
544 {
545 sio << "Too few parameters." << sio.nl;
546 return 0;
547 }
543 Parser p( argv[1] ); 548 Parser p( argv[1] );
544 549
545 p.firstPass(); 550 p.firstPass();