storage class specifiers are allowed for static autos in reentrant functions
[fw/sdcc] / src / SDCCmain.c
index 0f7b48751f492feeffe701034288b14614da45fc..31d5fdca5c64fdbebacdeb2d88839a3e49ab772e 100644 (file)
@@ -370,13 +370,13 @@ printUsage ()
 {
     int i;
     printVersionInfo();
-    fprintf (stderr,
+    fprintf (stdout,
              "Usage : sdcc [options] filename\n"
              "Options :-\n"
              );
     
     for (i = 0; i < LENGTH(optionsTable); i++) {
-        fprintf(stderr, "  %c%c  %-20s  %s\n", 
+        fprintf(stdout, "  %c%c  %-20s  %s\n", 
                 optionsTable[i].shortOpt !=0 ? '-' : ' ',
                 optionsTable[i].shortOpt !=0 ? optionsTable[i].shortOpt : ' ',
                 optionsTable[i].longOpt != NULL ? optionsTable[i].longOpt : "",