diff options
author | Adam Jackson <ajax@redhat.com> | 2009-04-03 17:51:55 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-04-03 18:22:20 -0400 |
commit | c1cf36ee29e41901ecd382f0258110ebb4a0124e (patch) | |
tree | 7e655104c841c08dc39b7d3e8f5025f2e51a7961 /os | |
parent | 2d0a4fff7985f58c21023cc4757090ee67067593 (diff) |
DPMS: Simplify command line parsing
Diffstat (limited to 'os')
-rw-r--r-- | os/utils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/os/utils.c b/os/utils.c index 56095b128..d05c437dd 100644 --- a/os/utils.c +++ b/os/utils.c @@ -487,7 +487,6 @@ void UseMsg(void) ErrorF("-core generate core dump on fatal error\n"); ErrorF("-dpi int screen resolution in dots per inch\n"); #ifdef DPMSExtension - ErrorF("dpms enables VESA DPMS monitor control\n"); ErrorF("-dpms disables VESA DPMS monitor control\n"); #endif ErrorF("-deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs\n"); @@ -673,7 +672,7 @@ ProcessCommandLine(int argc, char *argv[]) } #ifdef DPMSExtension else if ( strcmp( argv[i], "dpms") == 0) - DPMSEnabledSwitch = TRUE; + /* ignored for compatibility */ ; else if ( strcmp( argv[i], "-dpms") == 0) DPMSDisabledSwitch = TRUE; #endif |