xset docs wrong for dpms?

Jeremy C. Reed reed at reedmedia.net
Mon May 5 09:04:16 PDT 2008


I have noticed this for years. xset usage and man page shows:

         dpms [standby [suspend [off]]]

But whenever I have tried "xset dpms standby" it has failed -- and shows 
usage.

Looking at xset.c, it looks like it only checks for "standby" argument if 
"force" is before it.

Also the syntax above seems to indicate usage could be:

xset dpms standby suspend off
and off is only available if suspend is on command line
and suspend is only available is standby is listed.

What is the correct syntax for man page and usage()? Or is actual option 
parsing code wrong?

Also dpms by itself appears to do nothing.


  Jeremy C. Reed



More information about the xorg mailing list