From: Tormod Volden <[email protected]>

Signed-off-by: Tormod Volden <[email protected]>
---
 radeontool.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/radeontool.c b/radeontool.c
index f9710fc..08b1749 100644
--- a/radeontool.c
+++ b/radeontool.c
@@ -155,6 +155,7 @@ static void usage(void)
                        & RADEON_LVDS_ON) ? "on" : "off";
     }
     fprintf(stderr,"usage: radeontool [options] [command]\n");
+    fprintf(stderr,"         --help             - show this usage text\n");
     fprintf(stderr,"         --debug            - show a little debug info\n");
     fprintf(stderr,"         --skip=1           - use the second radeon 
card\n");
     fprintf(stderr,"         dac [on|off]       - power down the external "
@@ -2976,6 +2977,8 @@ int main(int argc,char *argv[])
         } else if (strncmp(argv[1],"--skip=", 7) == 0) {
             skip=atoi(argv[1]+7);
             argv++; argc--;
+       } else if(strcmp(argv[1], "--help") == 0) {
+           usage();
         } else {
             break;
         }
-- 
1.7.5.4

_______________________________________________
xorg-driver-ati mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-driver-ati

Reply via email to