static const char uname_usage[] =
- "uname [OPTION]...\n\n"
- "Print certain system information. With no OPTION, same as -s.\n\n"
+ "uname [OPTION]...\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nPrint certain system information. With no OPTION, same as -s.\n\n"
"Options:\n"
"\t-a\tprint all information\n"
"\t-m\tthe machine (hardware) type\n"
"\t-s\tprint the operating system name\n"
"\t-p\tprint the host processor type\n"
- "\t-v\tprint the operating system version\n";
+ "\t-v\tprint the operating system version\n"
+#endif
+ ;
static void print_element(unsigned int mask, char *element);
print_element(PRINT_MACHINE, name.machine);
print_element(PRINT_PROCESSOR, processor);
- exit(TRUE);
+ return(TRUE);
}
/* If the name element set in MASK is selected for printing in `toprint',