aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uname.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
commitd353f773bab8c0f92e149a74400aa31b57da9d05 (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /coreutils/uname.c
parent3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff)
downloadbusybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz
busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2
busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/uname.c')
-rw-r--r--coreutils/uname.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/coreutils/uname.c b/coreutils/uname.c
index b7c88ece5..55616dd19 100644
--- a/coreutils/uname.c
+++ b/coreutils/uname.c
@@ -40,24 +40,6 @@
40# include <sys/systeminfo.h> 40# include <sys/systeminfo.h>
41#endif 41#endif
42 42
43
44static const char uname_usage[] =
45 "uname [OPTION]...\n"
46#ifndef BB_FEATURE_TRIVIAL_HELP
47 "\nPrint certain system information. With no OPTION, same as -s.\n\n"
48 "Options:\n"
49 "\t-a\tprint all information\n"
50 "\t-m\tthe machine (hardware) type\n"
51 "\t-n\tprint the machine's network node hostname\n"
52 "\t-r\tprint the operating system release\n"
53 "\t-s\tprint the operating system name\n"
54
55 "\t-p\tprint the host processor type\n"
56 "\t-v\tprint the operating system version\n"
57#endif
58 ;
59
60
61static void print_element(unsigned int mask, char *element); 43static void print_element(unsigned int mask, char *element);
62 44
63/* Values that are bitwise or'd into `toprint'. */ 45/* Values that are bitwise or'd into `toprint'. */