--- setarch.c +++ setarch.c @@ -120,17 +121,27 @@ return 0; } +void show_usage(const char *progname) +{ + int f; + printf("Usage: %s%s [options] [program arguments]\n\n", progname, + (!strcmp(progname,"setarch")?" ":"")); + printf("Options:\n"); + for (f=0; f