diff options
-rw-r--r-- | listres.c | 21 |
1 files changed, 7 insertions, 14 deletions
@@ -85,21 +85,14 @@ static const char *ProgramName; static void usage (void) { - fprintf(stderr, "usage: %s [-options...]\n", ProgramName); - fprintf(stderr, "\nwhere options include:\n"); - fprintf(stderr, - " -all list all known widget and object classes\n"); - fprintf(stderr, - " -tree list all widgets and objects in a tree\n"); - fprintf(stderr, - " -nosuper do not print superclass resources\n"); - fprintf(stderr, - " -variable show variable name instead of class name\n"); - fprintf(stderr, - " -top name object to be top of tree\n"); - fprintf(stderr, + fprintf(stderr, "usage: %s [-options...]\n%s\n", ProgramName, + "\nwhere options include:\n" + " -all list all known widget and object classes\n" + " -tree list all widgets and objects in a tree\n" + " -nosuper do not print superclass resources\n" + " -variable show variable name instead of class name\n" + " -top name object to be top of tree\n" " -format string printf format for instance, class, type\n"); - fprintf(stderr, "\n"); exit (1); } |