Changeset 1322 for toilet


Ignore:
Timestamp:
Nov 10, 2006, 9:29:10 AM (13 years ago)
Author:
Sam Hocevar
Message:
  • Output filter list to stdout, not stderr.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/filter.c

    r1320 r1322  
    5656    unsigned int i;
    5757
    58     fprintf(stderr, "Available filters:\n");
     58    printf("Available filters:\n");
    5959    for(i = 0; i < sizeof(lookup) / sizeof(lookup[0]); i++)
    60         fprintf(stderr, "\"%s\": %s\n", lookup[i].name, lookup[i].description);
     60        printf("\"%s\": %s\n", lookup[i].name, lookup[i].description);
    6161
    6262    return 0;
Note: See TracChangeset for help on using the changeset viewer.