]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
complain more loudly about wrong compile flags
authorrpolzer <rpolzer@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 24 Sep 2008 07:04:05 +0000 (07:04 +0000)
committerrpolzer <rpolzer@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 24 Sep 2008 07:04:05 +0000 (07:04 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@104 61c419a2-8eb2-4b30-bcec-8cead039b335

tools/quake3/q3map2/bsp.c
tools/quake3/q3map2/light.c
tools/quake3/q3map2/vis.c

index 00fd1fe8646091297162cec74068869f5cffde53..30ea92c0dad3cde2ddbcf7f92220511627fcfdb9 100644 (file)
@@ -863,7 +863,10 @@ int BSPMain( int argc, char **argv )
                else if( !strcmp( argv[ i ], "-bsp" ) )
                        Sys_Printf( "-bsp argument unnecessary\n" );
                else
-                       Sys_Printf( "WARNING: Unknown option \"%s\"\n", argv[ i ] );
+               {
+                       Sys_Printf( "WARNING: Unknown option \"%s\"\a\n", argv[ i ] );
+                       sleep(1);
+               }
        }
        
        /* fixme: print more useful usage here */
index e5e526fb65df542ac90bfb73ae4eb596309c0d0e..5130b2a21886461c99115948f72ddb737c2b4c88 100644 (file)
@@ -2325,7 +2325,10 @@ int LightMain( int argc, char **argv )
                
                /* unhandled args */
                else
-                       Sys_Printf( "WARNING: Unknown argument \"%s\"\n", argv[ i ] );
+               {
+                       Sys_Printf( "WARNING: Unknown argument \"%s\"\a\n", argv[ i ] );
+                       sleep(1);
+               }
 
        }
        
index 4ee843a0b96800a08c89f28b36fb124f7149a430..d32b9d1f02faafae2f849157398895bb0b6cd892 100644 (file)
@@ -1074,7 +1074,10 @@ int VisMain (int argc, char **argv)
                }
                
                else
-                       Sys_Printf( "WARNING: Unknown option \"%s\"\n", argv[ i ] );
+               {
+                       Sys_Printf( "WARNING: Unknown option \"%s\"\a\n", argv[ i ] );
+                       sleep(1);
+               }
        }
 
        if( i != argc - 1 )