From cbb165ab88cb0810268001e84d87671440baf837 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 3 Apr 2009 18:34:45 -0400 Subject: [PATCH] os: Remove the useless -x option --- os/utils.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/os/utils.c b/os/utils.c index d05c437dd..66957d56f 100644 --- a/os/utils.c +++ b/os/utils.c @@ -534,7 +534,6 @@ void UseMsg(void) ErrorF("-v screen-saver without video blanking\n"); ErrorF("-wm WhenMapped default backing-store\n"); ErrorF("-wr create root window with white background\n"); - ErrorF("-x string loads named extension at init time \n"); ErrorF("-maxbigreqsize set maximal bigrequest size \n"); #ifdef PANORAMIX ErrorF("+xinerama Enable XINERAMA extension\n"); @@ -883,14 +882,6 @@ ProcessCommandLine(int argc, char *argv[]) PanoramiXExtensionDisabledHack = TRUE; } #endif - else if ( strcmp( argv[i], "-x") == 0) - { - if(++i >= argc) - UseMsg(); - /* For U**x, which doesn't support dynamic loading, there's nothing - * to do when we see a -x. Either the extension is linked in or - * it isn't */ - } else if ( strcmp( argv[i], "-I") == 0) { /* ignore all remaining arguments */