]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/exportents.c
q3map2: fix not displaying default args for some q3map2 stages
[xonotic/netradiant.git] / tools / quake3 / q3map2 / exportents.c
index b123660843acfc4cdfc7a962bf5d96c6bdae2cbc..50eed8978c66cc088820d73a7b4e1b319f5b226e 100644 (file)
@@ -90,7 +90,7 @@ void ExportEntities( void ){
 
 int ExportEntitiesMain( int argc, char **argv ){
         /* arg checking */
-        if ( argc < 1 ) {
+        if ( argc < 2 ) {
                 Sys_Printf( "Usage: q3map -exportents [-v] <mapname>\n" );
                 return 0;
         }
@@ -109,4 +109,4 @@ int ExportEntitiesMain( int argc, char **argv ){
                
         /* return to sender */
         return 0;
-}
\ No newline at end of file
+}